using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication3
{
class Student
{
private string name;
private string id;
private string department;
private float cgpa;
public Student()
{
name = "";
id = "";
department = "";
cgpa = 0.0f;
}
public string Name
{
set
{
this.name = value;
}
get
{
return this.name;
}
}
public string ID
{
set
{
this.id = value;
}
get
{
return this.id;
}
}
public string Department
{
set
{
this.department = value;
}
get
{
return this.department;
}
}
public float CGPA
{
set
{
this.cgpa = value;
}
get
{
return this.cgpa;
}
}
}
}