Jūs esate

C#. Set culture info

I had one problem. My computer's Global Settings are set to the Lithuanians, but now I live in Austria. I need to change the currency of my program from litas (LTL) to euro (EUR). How could I do that? It's very simple: using System.Globalization; // Code... CultureInfo ci = new CultureInfo("de-AT"); // Code... Console.WriteLine(stringWithCurrency.ToString("C", ci)); Happy coding!

Komentarai

So maybe do you know how to write text on desktop? :)

Probably you could try getting desktop and then writing on the image your text and after that setting the new desktop Wallpaper?
Small example: http://www.codeproject.com/KB/dotnet/SettingWallpaperDotNet.aspx

Komentuoti