public string NAME{get;set;}
public Student(string name, int age, double gpa)
public double ShowGPA(string strType)
if (strType == "adjusted"){
public static void CallFunction(int iInput, ref double dInput)
public static void Main()
Student Student1 = new Student();
Console.WriteLine("ShowGPA(regular): "+ Student1.ShowGPA("regular"));
Console.WriteLine("ShowGPA(adjusted): "+ Student1.ShowGPA("adjusted"));
Console.WriteLine("LuckyDraw: "+ Student1.LuckyDraw());
Console.WriteLine("=================");
Console.WriteLine("Age:{0}, GPA:{1}",iAge, dGPA);
CallFunction(iAge, ref dGPA);
Console.WriteLine("Age:{0}, GPA:{1}",iAge, dGPA);