C# 同 Java 的 # and [] tags 有什麼作用?

  1. [TypeConverter(typeof(ExpandableObjectConverter))]
  2. public abstract class Activity
  3. {
  4.         public Pets.Pet Actor { get; set; }
  5.         public GameObject Target { get; set; }
複製代碼
THX

google c# Attribute

TOP