c#中的一些基本知识 - 待补充

来源:互联网 发布:淘宝引流的渠道有哪些 编辑:程序博客网 时间:2024/06/06 06:41

1 主函数的返回值会传送到环境变量%ERRORLEVEL%

 

2 string 的format

 

int a = 5;

string s = string.format ("this is {0}",a);

 

3 支持foreach的类,需要实现接口IEnumerator