1 Answer

0 votes
by

Below code will helps us to find that string are equal or not and also find c# is case sensitive or not. Below code will helps you to understand that c# follow case sensitive.

using System;

public class Program

 {

  public static void Main(string[] args)

  {

   String x = "CrackYourInterview";

   String y = "CRACKYOURINTERVIEW";

   int z;

   z = x.CompareTo(y);

   Console.WriteLine(z);

  }

 }

And answer of above code is -1 which means c# is case sensitive

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
+1 vote
asked Jan 16, 2020 in QuickTest Professional (QTP) by JackTerrance
+1 vote
asked Feb 18 in Linux by SakshiSharma
0 votes
asked Dec 18, 2019 in Augmented Reality and Virtual Reality by sharadyadav1986
0 votes
asked Nov 8, 2020 in Hadoop by rahuljain1
0 votes
asked Jul 27, 2020 in C Sharp by Hodge
...