String Object Overloaded Equality Operators C# with Example
using System; namespace CSharpFundamentals { class StringObjectOverloadedEqualityOperators { private static void Main(string[] args) { String msg = "C# is COOL too"; Console.WriteLine("Both Strings are Equal: {0}", msg == "C# is COOL too"); Console.WriteLine("Both Strings are Equal: {0}", msg != "C# is COOL too"); } } }