自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(8)
  • 收藏
  • 关注

原创 C#学习笔记之二(stack, queue, string, HashTable,StringBuilder, Regular Expresstion)

Queue: Enqueue() Dequeue() Peek() //only get first element, not delete itStack: Count() Clear() Peek() Pop() Push() CopyTo(array, offset) //copy to arrayDictionary/Hashtable: Keys //colleation of Keys

2004-03-08 11:33:00 1363

原创 C#学习笔记之三(delegate, event, Make XML document )

Delegates:   // 1. nomal delegates = create before run, in main  //declare class Employee{}; class Couple{}  public delegate bool Reverse(object lhs, object rhs); SetOrder(Reverse the DelegatedFunctio

2004-03-08 11:33:00 1177

原创 C#学习笔记之六(stream, Asynchronous data read, HttpWebRequest)

Streaming Data: // Explorer Directory string dir = @"C:/Winnt"; DirectoryInfo dirInfo = new DirectoryInfo(dir);   //read and write File Stream inputStream = File.OpenRead(@"c:/test/source/hamlet.txt

2004-03-08 11:33:00 1475

原创 C#学习笔记之七(network I/O, Asynchonouse network I/O)

Network IO;  //Server1 programm using System.Net.Sockets; TcpListener tcpListener = new TcpListener(65000); tcpListener.Start(); for(;;) {  Socket clientSocket = tcpListener.AcceptSocket()  if (client

2004-03-08 11:33:00 1150

原创 C#学习笔记之八(Serialization, ActiveX Control)

Serialization: 1. use attribute   // "[serializable]" 2. Formatter   // "BinaryFormatter binaryFormatter = new BinaryFormatter();" 3.[Noserialized]   //example // if the data can generate based some d

2004-03-08 11:33:00 1232

原创 C#学习笔记之一(basic, class, function,array, collection interface)

最近学习了C#程序设计的课程, 现在将笔记总结如下, 没有系统整理,都是课上记得notes, 后面几部分以程序居多,因为这些笔记没有做过整理,所以很多code没有详细的注释,如果有时间的话,我会对笔记做系统的整理,还有这里没有提及基本的语法介绍,望大家谅解:Basic: //利用out, 不用给i,j assign初始值 int i,j; f(out i, out j) {}  //using

2004-03-08 10:02:00 1280

原创 C#学习笔记之五(ADO.net)

ADO.net //Overview Data-->DataReader-->Data Provider--> DataSet Data Provider: Connection, Command, DataAdapter DataSet: DataRelationCollection,   DataTable collection(including DataTable)) DataTable:

2004-03-08 10:02:00 1289

原创 C#学习笔记之四(Attribute, Reflection, Thread, Thread Synchronization)

Atributes: //can add metadata in program, It store with the program //using ILDasm to check atributes   //usage [CodeReviewAttribute("08/08/2005", "Allan Zhang",  Comment = "That is a Attribute test")

2004-03-08 10:02:00 1252 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除