Hi, I had an error in my application and after lots of investigation it
boiled down to this:
public class C : System.Windows. Forms.Control
{
public int i;
}
C c = new C();
c.i.GetType(); // this line works fine
c.i.ToString(); // here a compiler error occurer, saying i cannot pass i
as reference or out parameter
I cannot understand that. Both GetType() and ToString() are nonstatic
methods of the System.Int32 class. Why does none work and the other doesn't?
--
cody
[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk