//求助各位高手,Vector属于哪个类库里的?using为什么会命名空间报错?
using System;
using System.Collections.Generic;
using System.Text;namespace CSDEMO2
{
class Program
{
static void Main(string[] args)
{
Vector x, y;
x = new Vector();
x.value = 30;
y = x;
Console.WriteLine(y.Value);
y.Value = 50;
Console.WriteLine(x.Value);
Console.ReadLine;
}
}
}
using System;
using System.Collections.Generic;
using System.Text;namespace CSDEMO2
{
class Program
{
static void Main(string[] args)
{
Vector x, y;
x = new Vector();
x.value = 30;
y = x;
Console.WriteLine(y.Value);
y.Value = 50;
Console.WriteLine(x.Value);
Console.ReadLine;
}
}
}
解决方案 »
- 条件using
- c#中串口数据接收事件和线程同步问题
- Socket发送HTTP/1.1请求总是返回400 bad request
- 用c#调用外部程序的几个问题
- 我想在构造函数中为集合中填充内容,内容为当前类的所有string[],如何通过循环填充?
- 是不是每一次用完WebService都要dispose 掉?
- 怎样做一个像sql server 2000生成视图时 那种选完表后,个各表之间可以拖动,而且可以互相联系。
- 这个问题这么难?再加一百分,就不相信这里没强人。也不是很难回答嘛,至少讨论一下嘛
- 高难度问题,如何监控某个进程的网络流量??
- 从没遇到的奇怪错误,郁闷,烦躁,难道没人知道这么奇怪的问题吗?我还没吃........!!
- webservice 发布到IIS5.1上以后,上传和下载图片的大小被限制
- 急急急啊!winform打包问题。在线等。
System下没有这个类嘛,《c#高级编程》的例子
看这个