I wanted to declare path as string and send the path to database
string skillIDpath = "\Package\InactiveSkillAgentsCleanUp.Variables[PackageConfiguration::SkillID].Properties[Value]";
but i can't do this.any suggestion?
<discplaimer: I have no experience with c# but assume it is similar enough to c++ that I can be of help>
Things inside quotes don't get evaluated so you have to pack your string in steps using string class methods.
So, first put on the "\Package\InactiveSkillAgentsCleanUp.Variables ", then use a string method to put on the value of [PackageConfiguration::SkillID], proceed like that.
You might have to convert datatypes depending on what SkillID and Value are, and it might be useful for you to look into stringstreams (or whatever the c# equivalent is) .