Tutorial by Examples

/// <summary> /// Defines a student. /// </summary> [DataContract] public class Student { /// <summary> /// Gets or sets the student number. /// </summary> [DataMember] public string StudentNumber { get; set; } /// <summary> ///...
Below code represents an example of Opt-Out approach using Serializable and NonSerialized attributes. /// <summary> /// Represents a student. /// </summary> [Serializable] public class Student { /// <summary> /// Gets or sets student number. /// </summary&gt...

Page 1 of 1