[Mono-list] Adding two properties content to string

Sascha Manns Sascha.Manns at mailbox.org
Tue Jan 3 18:40:51 UTC 2017


Hi Wolfgang,

that idea sounds good. I'll try it out. Thank you :-)

Greetings Sascha


On 03.01.2017 19:24, Wolfgang Mauer wrote:
>
> Hi Sascha,
>
> why not making „private static ARTICLE_INFO“ property ?
>
> Somethink like this
>
>  
>
> privatestaticstringARTICLE_INFO => Title + Path.DirectorySeparatorChar
> + Language + Path.DirectorySeparatorChar + "Article_Info.xml";
>
>  
>
>  
>
> *Von:*Mono-list [mailto:mono-list-bounces at lists.xamarin.com] *Im
> Auftrag von *Sascha Manns
> *Gesendet:* Dienstag, 3. Januar 2017 17:35
> *An:* Mono-list at lists.ximian.com
> *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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20170103/0bc2945c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 837 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20170103/0bc2945c/attachment.sig>


More information about the Mono-list mailing list