Activator 類別 (System)
Object o = Activator.CreateInstance(typeof (StringBuilder)); // Append a string into the StringBuilder object and display the // StringBuilder. StringBuilder sb = (StringBuilder) o; sb.Append("Hello, there." ); Console.WriteLine(sb ......