public student() { public List<student_details>studentdetails=new List<student_details>(); public student()//constructor { Student_details s=new Student_details(); { s.Student_Name=//here i have access the value from Student_details class } } } public Student_details() { public string Student_Name{get;set;} //I am getting a value of student name from xml using another c# file }
Student_details s=new Student_details() { Student_Name = "abcd" };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)