Can we Initialize dynamic string array .
- by SunilRai86
is there any way to Initialize dynamic string array .
public class CXmlFileHook
{
string vAppname;
string vClassname;
string vIdmark;
string vExecname;
string [] vApiName;
string vCtor;
public CXmlFileHook()
{
this.vAppname = "Not Set";
this.vIdmark = "Not Set";
this.vClassname = "Not Set";
this.vExecname = "Not Set";
this.vApiName = new string[9] { "Not Set", "Not Set", "Not Set", "Not Set", "Not Set", "Not Set", "Not Set", "Not Set" ,"Not Set"};
this.vCtor = "CXmlFileHook()";
}
now i want the size of the string should increases dynamically and according to size it initializes it self is it possible????