首页 > Windows开发
【C#学习笔记】指针使用
using System; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int a = 5; unsafe { int* p... ...
分类:Windows开发   时间:2017-08-27 15:56:18    收藏:0  评论:0  赞:0  阅读:249
【C#学习笔记】函数重载
using System; namespace ConsoleApplication { class Program { static void Print(int a, int b) { Console.Write(a + b); } static void Print(string a... ...
分类:Windows开发   时间:2017-08-27 15:55:50    收藏:0  评论:0  赞:0  阅读:219
【C#学习笔记】打开对话框并返回打开文件所在路径
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 15:54:52    收藏:0  评论:0  赞:0  阅读:215
【C#学习笔记】改变字体
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 15:52:55    收藏:0  评论:0  赞:0  阅读:327
【C#学习笔记】文本复制到粘贴板
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 15:52:28    收藏:0  评论:0  赞:0  阅读:282
【C#学习笔记】图片像素操作
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:Windows开发   时间:2017-08-27 15:51:04    收藏:0  评论:0  赞:0  阅读:288
【C#学习笔记】类型转换
using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { string a = "1234"; int b = Convert.ToInt32(a)+1; ... ...
分类:Windows开发   时间:2017-08-27 15:50:10    收藏:0  评论:0  赞:0  阅读:209
【C#学习笔记】获得系统时间
using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { Console.Write(DateTime.Now); Console.ReadKey... ...
分类:Windows开发   时间:2017-08-27 15:49:57    收藏:0  评论:0  赞:0  阅读:246
【C#学习笔记】Hello World
using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { Console.Write("Hello World!"); Console.Read(); ... ...
分类:Windows开发   时间:2017-08-27 15:48:32    收藏:0  评论:0  赞:0  阅读:238
【C#学习笔记】获得本机IP
using System; using System.Net; namespace ConsoleApplication { class Program { static void Main(string[] args) { IPHostEntry ipHost = Dns.GetHostEntry... ...
分类:Windows开发   时间:2017-08-27 15:46:57    收藏:0  评论:0  赞:0  阅读:239
【C#学习笔记】网页弹出提示框
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace W... ...
分类:Windows开发   时间:2017-08-27 15:45:55    收藏:0  评论:0  赞:0  阅读:250
【C#学习笔记】写文件
using System; using System.IO; namespace ConsoleApplication { class Program { static void Main(string[] args) { FileStream file = new FileStream("log.... ...
分类:Windows开发   时间:2017-08-27 15:45:31    收藏:0  评论:0  赞:0  阅读:333
【C#学习笔记】Dictionary容器使用
using System; using System.Collections.Generic; namespace ConsoleApplication { class Program { static void Main(string[] args) { Dictionary a = new Di... ...
分类:Windows开发   时间:2017-08-27 15:45:19    收藏:0  评论:0  赞:0  阅读:262
【C#学习笔记】播放wav文件
using System; using System.Media; namespace ConsoleApplication { class Program { static void Main(string[] args) { SoundPlayer s = new SoundPlayer("te... ...
分类:Windows开发   时间:2017-08-27 15:44:35    收藏:0  评论:0  赞:0  阅读:209
C# 《五》流程控制(1)
1、分支语句之 if 语句 1、流程控制语句是程序的核心部分,对任何一门编程语言来说都至关重要,是控制程序执行流向的基本语句。如果一门语言缺少了流程控制,就会缺少对程序流向的控制,就不能称之为计算机语言。 2、C#语言提供了丰富、灵活的控制流程语句,主要分分支语句、迭代语句、跳转语句三类。 分支语句 ...
分类:Windows开发   时间:2017-08-27 15:13:19    收藏:0  评论:0  赞:0  阅读:248
windows剪贴板
0x01 Windows剪贴板 Windows剪贴板是一种比较简单同时也是开销比较小的IPC(InterProcess Communication,进程间通讯)机制。Windows系统支持剪贴板IPC的基本机制是由系统预留的一块全局共享内存,用来暂存在各进程间进行交换的数据:提供数据的进程创建一个全 ...
分类:Windows开发   时间:2017-08-27 13:50:43    收藏:0  评论:0  赞:0  阅读:372
windows2008设置IIS服务器定时自动重启的方法
我们在使用windows2008下IIS服务器时会经常出现资源耗尽的现象,运行一段时间下来就会出现访问服务器上的网站时提示数据库连接出错,重启IIS后网站又能正常访问了,这个问题可能困扰了很多站长朋友。青岛做网站经过不断的实践找到了一个比较笨,但是有效的方法,那就是设置windows2008IIS服 ...
分类:Windows开发   时间:2017-08-27 12:43:23    收藏:0  评论:0  赞:0  阅读:293
delphi ^ 的含义
Pint:^string;在这里将^放在数据类型之前,说明是声明的字符串指针类型!如果想取出指针引用的值的话,就将^放在声明的类型后就可以了,比如:Pint^想取Pint类型的所引用地址的话,就将@放在之前就可以了,比如:@Pint ^type 表示指向这种类型的指针 point^ 返回指针指向的变 ...
分类:Windows开发   时间:2017-08-27 11:42:45    收藏:0  评论:0  赞:0  阅读:211
C#操作EML邮件文件实例(含HTML格式化邮件正文和附件)
使用QQ邮箱、163邮箱等导出的EML邮件,包含了邮件的发件人、主题、内容、附件等所有信息,该实例就如何解析这些信息,并在编辑后保存做个Demo。 如下图所示,EML文件是编码后的文本文件,可以使用正则表达式识别其中的关键字,例如Received、Sender、Cc、Bcc、From等。 但解析后的 ...
分类:Windows开发   时间:2017-08-27 11:34:38    收藏:0  评论:0  赞:0  阅读:522
windows版redis报错:本地计算机上的Redis服务启动后停止
解决 1、如果需要临时启动Redis 使用命令:redis-server.exe redis.windows.conf --maxheap 200m 说明:200m是指定最大堆内存是200m,当然你也可以修改得在大一些 2、如果需要将Redis注册为服务 如果已经注册为了服务,先卸载掉,卸载方法是, ...
分类:Windows开发   时间:2017-08-27 10:57:07    收藏:0  评论:0  赞:0  阅读:542
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!