如何用VS2005编写一个基本的程序 如hello world

来源:百度知道 编辑:UC知道 时间:2024/05/10 11:55:30
用C#吧

这你不会?
1..net环境下: 拉个label;
private void Form1_Load(object sender, System.EventArgs e)
{
this.label1.Text="Hello World!";
}

2.控制台下:
using System;
class Hello
{
public static void Main()
{
Console.WriteLine("hello,world!");

这样满意么?