المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : basic oop



C# Programming
08-25-2009, 09:43 PM
public class my
{
public int num = 0;
public string s = "";
public my()
{
this.num = 90;
}
public my(string n)
{
//how to call zero argument constructor from here?
this.s = n;
}
}