mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Delegate | System.AttributeTargets.All, AllowMultiple=false, Inherited=false) System.Runtime.InteropServices.ComVisible(true) Marks a type as being serializable. This attribute indicates that the class it's being applied to is serializable. This is a requirement for all classes in an object's graph that is being serialized. A is thrown if a class without the is serialized. `using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Soap; public class SerializationDemo { public static void Main() { Point pt = new Point(); pt.x=1; pt.y=2; Console.WriteLine(pt); SoapFormatter formatter = new SoapFormatter(); // Serialize out to STDOUT. formatter.Serialize(System.Console.OpenStandardOutput(), pt); } } [Serializable()] public class Point { public int x,y; // Serialize This [NonSerialized()] // Don't serialize Visible attribute public bool Visible=false; public override string ToString(){ // Methods aren't serialized return String.Format("({0},{1})",x,y); } }`
- Constructor
  Creates a new copy of the class.
  1.0.5000.0
  2.0.0.0
  4.0.0.0