T
Tony
I'm a self-learning C# newbie So this may be a dumb question to some
of you, but I'll ask it anyway
Is there more reason to use one over the other?
Both Int32.Parse and Convert.ToInt32(#,base) work equally well in the
snippit below.
Console.Write("what is your age?:");
age = Console.ReadLine();
try
{ addage=System.Int32.Parse(age);
}
//addage=Convert.ToInt32(age,10);}
Tony!
of you, but I'll ask it anyway
Is there more reason to use one over the other?
Both Int32.Parse and Convert.ToInt32(#,base) work equally well in the
snippit below.
Console.Write("what is your age?:");
age = Console.ReadLine();
try
{ addage=System.Int32.Parse(age);
}
//addage=Convert.ToInt32(age,10);}
Tony!