Cosmos/source/HelloWorld/Program.cs
mterwoord_cp 4f1bf676e8
2007-09-03 17:12:38 +00:00

35 lines
692 B
C#

using System;
namespace HelloWorld {
public class Program {
public static void CallInteger() {
Integer();
}
public static void Integer() {
int i = 22;
}
public static void StringViaCtor() {
object x = new string('t', 45);
}
public static void LiteralString() {
object x = "Hello, World!";
}
public static void Main() {
CallInteger();
Integer();
StringViaCtor();
LiteralString();
}
public static void ActualMain(string[] args) {
string s = "Test";
Console.WriteLine("Hello world!");
Console.ReadLine();
}
}
}