Case-sensitive strings.

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	public static void Main()
	{
		string a = "Love for all Hatred for none!";
		string b = "LOVE FOR ALL HATRED FOR NONE!";
		string c = "love for all hatred for none!";
		string d = "Love for all Hatred for none!";
		
		if(a.Equals(b)) {
            Console.WriteLine("a matches b.");
		} else {
			Console.WriteLine("a doesn't match b");
		}
		if(a.Equals(c)) {
            Console.WriteLine("a matches c");
		} else {
			Console.WriteLine("a doesn't match c");
		}
		if(a.Equals(d)) {
            Console.WriteLine("a matches d");
		} else {
			Console.WriteLine("a doesn't match d");
		}
	}
}
;