Computer Science, asked by mwangijustus14, 11 months ago

I need a list like this one
Sem I
a. UCI 201
b. UCI 203
Sem II
c. UCI 202
d. UCI 204

Answers

Answered by vaibhsfly
0

Answer:

Create Class with name semester and create property in it i.e name.

class Semester

{

public string name{get;set;}

}

Now create a list of this class type

List<Semester> objList = new List<Semester>();

Similar questions