在C#中的各种应用
1.怎么解決在C中的#define的預編譯
比如在C#想將DataType全都替換成Int ? ?
using DataType=System.Int32;將上面一句放在開頭就行了
?
2.在字符串中聲明一個字符串數組
int count=5; string[] stringArray=new string[count];這樣就行了
轉載于:https://www.cnblogs.com/chenbuer/p/4185932.html
總結
- 上一篇: Windows Service下的Tim
- 下一篇: C#基础整理