0% found this document useful (0 votes)
8 views1 page

Student Info Class

Uploaded by

paignadave
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Student Info Class

Uploaded by

paignadave
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

using System;

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _09_TP
{

internal class StudentInfo


{

private int studID;


private string lastName;
private string firstName;

public int StudID


{
get { return studID; }
set { studID = value; }
}

public string LastName


{
get { return lastName; }
set { lastName = value; }
}

public string FirstName


{
get { return firstName; }
set { firstName = value; }
}

public StudentInfo()
{
// Default constructor
}

public StudentInfo(int studID, string lastName, string firstName)


{
this.studID = studID;
this.lastName = lastName;
this.firstName = firstName;
}
}
}

You might also like