Hi...
Try this :
This is type of List:
public class DemoClass
{
public string str1 { get; set; }
public string str2 { get; set; }
public string str3 { get; set; }
public string str4 { get; set; }
public string str5 { get; set; }
}
and this is to define List & add type in the List :
ist<democlass> Demo = new List<democlass>();
DemoClass Data = new DemoClass();
Data.str1 = "Hello";
Data.str2 = "How";
Data.str3 = "are";
Data.str4 = "you";
Data.str5 = "???";
Demo.Add(Data);
</democlass></democlass>
HAve a good luck..... :) :) ;) ;)