Skip to content

Instantly share code, notes, and snippets.

@ozgurozkok
Created October 24, 2021 20:06

Revisions

  1. ozgurozkok created this gist Oct 24, 2021.
    16 changes: 16 additions & 0 deletions Turkish.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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();
    }
    }