-
October 25th, 2012, 02:03 PM
#1
Adding string to a instace
Hi All,
I have something like this..
"[ c o d e ]"
public class Student : ObservableObject
{
public string StudentName { get; set; }
public string StudentType { get; set; }
public string Section { get; set; }
public double Number { get; set; }
public string School { get; set; }
public object this[string key] { get; set; }
public bool ContainsKey(string key);
public Dictionary<string, object> GettingDictionary();
}
"[ / c o d e ]"
I am creating a instace for the list of students
List<Student> localcontext = new List<Student>();
I want to add one more string "StudentLocation" from the instance 'localcontext' to the Student object in some other place.
Can somebody help me on this?
Thanks,
Genith
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|