I realy dont know what the problem is with VS2010. I created a class, and when I'm trying create an exemplar of the class I get an error: "Error xxx is inaccessible due to its protection level.
Example:
public class Person
{
Person(string name, int age)
{
this.name = name;
this.age = age;
}
public string name;
public int age;
}
class Program
{
static void Main(string[] args)
{
Person ps = new Person("Jack", 19);
}
}