when enter the text to find the string i want to ignore the case how to implement that in a context below
Code:
 public override void Search()
        {
            
            //file = new FileStream(@"C:\username.txt", FileMode.Open, FileAccess.Read);
            
            Console.WriteLine("Input a string ");
            String data = Console.ReadLine();
            sr = File.OpenText(@"C:\username.txt");
            String st = sr.ReadToEnd();
           // How to implement ignore cases 
            
                if (st.Contains(data))
                {
                    Console.WriteLine("Found at position :" + st.IndexOf(data));
                }
                else
                {
                    Console.WriteLine("Not Found");
                }
Thanks,