class에대한 간단한 테스트

using System;

public class tp {
public tp() {
Console.WriteLine("tp Class Start... ");
}

public void me(int i, string str) {
Console.WriteLine("i Value : " + i + " String Value : " + str);
}

~tp() {
Console.WriteLine("tp Class Close... ");
}
}

public class nano {
public static void Main() {
tp ko = new tp();

ko.me(10,"Test");
}
}


+ Recent posts