вторник, 23 февраля 2010 г.

Inconsistent accessibility: field type 'type' is less accessible than field 'field'

class MyClass
// try the following line instead
// public class MyClass
{
}
public class MyClass2
{
public MyClass mf; // CS0052
}

To avoid this arror you need to make class MyClass - public !!!

Комментариев нет: