-
Notifications
You must be signed in to change notification settings - Fork 0
/
course.cs
35 lines (33 loc) · 1 KB
/
course.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Assignment2ByAbrar
{
class course
{
pco professorCourseManager = new pco();
loGinProfessor log = new loGinProfessor();
addCoourOfering courseoffering;
string coourse;
string professor;
public course()
{
coourse = professorCourseManager.addoffersing;
professor = log.UserName;
courseoffering = new addCoourOfering(coourse, professor);
}
public string getooffering()
{
string getoffering;
getoffering = coourse + " " + courseoffering.getoffering();
return getoffering;
}
public string setOffering()
{
string setoffering;
setoffering = professor + " " + courseoffering.setProfessor() + " " + coourse + courseoffering.getoffering();
return setoffering;
}
}
}