gelatofu

LabExer3-4_MyDLL_Student.cs

Mar 29th, 2017
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace MyDLL
  8. {
  9.     public class Student : Person
  10.     {
  11.         private int studNum;
  12.         private string studProgram;
  13.         private string[] studCourse = new string[5];
  14.  
  15.         public Student() : base() { }
  16.  
  17.         public int StudNum { get { return studNum; } set { studNum = value; } }
  18.         public string StudProgram { get { return studProgram; } set { studProgram = value; } }
  19.         public string[] StudCourse { get { return studCourse; } set { studCourse = value; } }
  20.     }
  21. }
Add Comment
Please, Sign In to add comment