Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanwang2016/0224b116e6d0b4c9f0b1771cb619018b to your computer and use it in GitHub Desktop.
Save nanwang2016/0224b116e6d0b4c9f0b1771cb619018b to your computer and use it in GitHub Desktop.
using System;
namespace TestFile
{
class Program
{
static void Main(string[] args)
{
Student UniStudent = new Student("Jack", "007");
}
}
public class Student
{
public string Name;
public string StudentID;
public Student(string name, string studentID)
{
Name = name;
StudentID = studentID;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment