小弟第一次接触C#,编了一个小程序,在dreamwever上运行错误!求帮忙!!!
由于没有visual studio,所以我是在VC++6.0上编好后,通过dreamwever来调用运行,,但老是出错,下面是代码段: using System;
{
Struct Myinfo
{
public string myName;
public string myAge;
public string myQQ;
public string myAdd;
public string myPostID;
}
class Program
{
static void Main(string[] args)
{
MyInfo myinfo;
myinfo.myName="jack";
myinfo.myAge="28";
myinfo.myQQ="12348998";
myinfo.myAdd="杭州市下城区";
myinfo.myPostID="310014";
Console.WriteLine("姓名={0}\n年龄={1}岁\n\0Q\0Q={2}\n地址={3}\n邮编={4}\n",myinfo.myName,myinfo.myAge,
myinfo.myQQ,myinfo.myAdd,myinfo.myPostID);
Console.ReadLine();
}
}
}