using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TypeScriptExamples.ServerSide { public class Student { // Attributes private int _id; // Primary key private string _name; private int _age; // Constructors public Student() { } public Student(int id, string name, int age) { _id = id; _name = name; _age = age; } // Properties public int Id { get { return _id; } set { _id = value; } } public string Name { get { return _name; } set { _name = value; } } public int Age { get { return _age; } set { _age = value; } } // Methods } }