//會顯示參考
public static string Variable { get; set; }
//不會顯示參考
public static string Variable2 = "abc";

各位前輩好,想請教兩個問題:
除了給定初始值以外,這兩種寫法有什麼差別?
為什麼一個會顯示參考一個不會顯示參考?
{get;set;}只是一連串的委派式縮寫
        public string  Variable 
        {
            get { return Variable ; }
            set { Variable = value; }
        }
只要是有用到函式的宣告,都會出現[ X個參考、Y項變更...........]
PS: static 不能直接{set;}