string sozcuk = "XXX"; sozcuk = sozcuk.ToLower();
Türkçe karakter sorunu çözmek için bunu kullabiliriz
string sozcuk = "XXX"; sozcuk = sozcuk.ToLower(new CultureInfo("tr", false))
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace kodsozluk { class Program { static void Main(string[] args) { string sozcuk = "KODSÖZLÜK"; sozcuk = sozcuk.ToLower(new CultureInfo("tr", false)); Console.Write(sozcuk); Console.ReadKey(); } } }
kodsözlük