Created
July 31, 2020 16:05
-
-
Save nanwang2016/0224b116e6d0b4c9f0b1771cb619018b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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