Saturday, August 16, 2008

object print

I wrote function that displays objects member values.
for example
class ClassA
{
  public int a=10;
  public int b=20;
}
public ClassA _ClassA;
you can simple display this object values by typing
Console.WriteLine(GetString(_ClassA));

There is Source http://www.codeplex.com/WPFSamples/Release/ProjectReleases.aspx?ReleaseId=16347

No comments: