class test
{
public string str;
}
在同一命名空间下如何调用
{
public string str;
}
在同一命名空间下如何调用
解决方案 »
- 如何取asp:table中的控件的值
- C#中如何把dataTable1中的列添加到dataTable2(保留已有列)中,在线等
- 使用Ftplib.Ftp不能上传,出现550错误
- 关于SqlParameter这个类的小问题
- 急!请问C#如何控制一个别人写的.net的Window Form应用程序的界面输入和按钮模拟??谢谢!
- oracle连接问题。
- 如何在自定義控件中 添加自定義事件?(UP 有分!)
- wince6.0 的C# 碼...
- 输入文本框转为大写。
- 在form1里,show一个form2,通过form2里的textBox,改变gorm1的标题,怎么做?
- System.ArgumentNullException: 值不能为空
- 弱弱的问下关于一个textbox的问题 ...
test t=new test();
t.str
public class test
{
public static string Str;
}
然后在其他类中直接用类调用
string message=test.Str;
就可以了