Hi Sascha,

why not making „private static ARTICLE_INFO“ property ?

Somethink like this 

 

private static string ARTICLE_INFO => Title + Path.DirectorySeparatorChar + 
Language + Path.DirectorySeparatorChar + "Article_Info.xml";

 

 

Von: Mono-list [mailto:[email protected]] Im Auftrag von 
Sascha Manns
Gesendet: Dienstag, 3. Januar 2017 17:35
An: [email protected]
Betreff: [Mono-list] Adding two properties content to string

 

Hello list,

i have defined the Property "Title" and "Language".
Now i would like to use that both inside a string like:

private const string ARTICLE_INFO = Title + Language + "Article_Info.xml";

So the string should look like "MyTitle/de-DE/Article_Info.xml".

Maybe anyone knows how to do that?

Greetings Sascha

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.dot.net/mailman/listinfo/mono-list

Reply via email to