私はC#に入り、この問題が発生しています:
namespace MyDataLayer
{
    namespace Section1
    {
        public class MyClass
        {
            public class MyItem
            {
                public static string Property1{ get; set; }
            }
            public static MyItem GetItem()
            {
                MyItem theItem = new MyItem();
                theItem.Property1 = "MyValue";
                return theItem;
            }
        }
     }
 }
私はUserControlにこのコードを持っています:
using MyDataLayer.Section1;
public class MyClass
{
    protected void MyMethod
    {
        MyClass.MyItem oItem = new MyClass.MyItem();
        oItem = MyClass.GetItem();
        someLiteral.Text = oItem.Property1;
    }
}
にアクセスする場合を除いて、すべてが正常に機能しますProperty1。インテリセンスは私だけ「を与えるEquals、GetHashCode、GetType、およびToString」オプションとして。にカーソルを合わせるとoItem.Property1、Visual Studioから次のような説明が得られます。
MemberMyDataLayer.Section1.MyClass.MyItem.Property1.getcannot be accessed with an instance reference, qualify it with a type name instead
私はこれが何を意味するのかわからない、私はグーグルをやったがそれを理解することができなかった。