10 TIPs - To Become a Good Developer/Programmer
Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Sabeesh V4u
1.4k
763
213.3k
how to assign c# class object to a list object after convert?
May 28 2021 6:54 AM
I have this c# object list and i have to asign a class object to list or how to convert
var studentClassObj= new Student
{
name = "appus",
revision = "1",
};
var teacherClassobj= new Teacher
{
name = "ram",
revision = "13",
students = student
};
var officestaf= new OfficeStaff
{
officestaffList= //officestaffList is a list object how to assign "teacherClassobj" object here?
}
Reply
Answers (
2
)
use multiple plugin type in treeview
cannot import excel to datagridview in c#