C#小知识点
来源:互联网 发布:太原资海网络 编辑:程序博客网 时间:2024/04/29 02:55
1.类中变量的应用:
例:
string myCar=null;
public string car
{
get
{
return myCar;
}
set
{
return value;
}
}
2.
2.1得到当前环境所在的路径
System.Environment .CurrentDirectory.ToString()
2.2得到当前程序启动所在的路径
使用的名字空间
using System.Windows;
using System.Windows.Forms;
使用的事件:
Application.Startup 事件
- C#小知识点
- C#对象小知识点
- C#小知识点
- C#小知识点
- C#小知识点总结
- C#学习小知识点·
- C#语言中的小知识点
- C# VS 小知识点收集
- unity3d C#相关小知识点集合
- 20160301 C#基础易忘记小知识点
- 小知识点
- 小知识点
- 小知识点
- 小知识点
- 小知识点
- 小知识点
- 小知识点
- 小知识点
- 浮点数越界或者无效-1.#IND000
- Use the wallet to encrypt tablespace,table.
- 工作6年,嵌入式开发,整理资料
- Does the parameter type of the setter match the return type of the getter?
- 2011年.NET面试题总结
- C#小知识点
- android opengl es 源码
- random class 配置sprin定时任务
- php的JSON 总结 json_decode() 解析错误 及 PEAR JSON.PHP使用
- apache
- java script 学习笔记
- 中文命名实体识别之学习笔记一(词性标注)
- 模态窗口和非模态窗口
- C++中利用静态成员函数在头文件中完全隐藏实现细节