I have a class Defined as follows:
class Foo
{
internal string IString;
internal static string IstaticString;
public Foo()
{
IstaticString = "static";
IString = "non - static";
}
}
i am creating it's instance in the main function as like the following, in this time IString is accessible through the object where as IstaticString is not accessible. can any one explain the reason for this?