Created
October 24, 2021 20:06
-
-
Save ozgurozkok/bff1af7896991e9f50e634f938d5a482 to your computer and use it in GitHub Desktop.
The Turkish İ Problem and Why You Should Care
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Globalization; | |
using System.Threading; | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
Thread.CurrentThread.CurrentCulture = new CultureInfo("tr-TR"); | |
const string input = "interesting"; | |
bool comparison = input.ToUpper() == "INTERESTING"; | |
Console.WriteLine("These things are equal: " + comparison); | |
Console.ReadLine(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment