?
解决方案 »
- SOCKET2 服务器WSASend数据 客户端要怎么响应才能RECV到数据
- “Sources”参数不支持重复项
- C#如何创建一个隐藏文件
- DataGrid的一个简单问题
- 100分问一个非技术的vs.net的问题.
- ???关于dataSet怪怪的问题
- C#中实现集合的运算问题
- ERROR [HY000] [Microsoft][ODBC Paradox Driver] 外部数据库驱动程序 (8961) 中的意外错误
- 请问一个关于从应用程序中请求一个http登陆连接资源的问题,请高手帮忙我在应用程序中:
- 悬赏100分求解,高手进来看看
- 怎么做一个简单的虚拟机或者在windows下怎么操作可以实现。
- 请问在什么情况下DataGrid控件的导航提示按钮不显示在一行?
{
int a;
string b; public Test()
{
a=1;
b="test";
} public void Function01()
{
a=2;
b="csdn";
}
}
{
int a;
string b; public Test(int i,string str) //带参数的构造函数
{
a=i;
b=str;
} public void Function01()
{
//this.a; 可直接调用
//b=str; }
//或者创建函数,返回初始化的值
public int GetIntValue(){
return a;
}
public string GetStringValue(){
return b;
}
}//外部调用
Test test=new Test(1,"Test");
test.GetStringValue();//返回b的值
public string b
{
get{...}
set{...}
}