Skip to content

Instantly share code, notes, and snippets.

@ozgurozkok
Created October 24, 2021 20:06
Show Gist options
  • Save ozgurozkok/bff1af7896991e9f50e634f938d5a482 to your computer and use it in GitHub Desktop.
Save ozgurozkok/bff1af7896991e9f50e634f938d5a482 to your computer and use it in GitHub Desktop.
The Turkish İ Problem and Why You Should Care
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