S
Sajjad Akhter
I need to create some constant fields those are of object type (other than
value types)
public class TestData10
{
public TestData10(string name)
{}
public string Airport;
}
public const TestData10 c_s1=new TestData10("Sea");
I am getting error on last line that right hand side is not const
expression, any idea hint.
Thanks,
Sajjad
value types)
public class TestData10
{
public TestData10(string name)
{}
public string Airport;
}
public const TestData10 c_s1=new TestData10("Sea");
I am getting error on last line that right hand side is not const
expression, any idea hint.
Thanks,
Sajjad