using System;
using System.Text.RegularExpressions;
class CompareCaseInsensitiveString_CSharp
{
static void Main(string[] args)
{
string s1 = "c# JAVA", s2 = "C# java";
bool b = Regex.IsMatch(s2, s1, RegexOptions.IgnoreCase);
if (b) {
Console.WriteLine("Equal");
}
else {
Console.WriteLine("Not Equal");
}
}
}
/*
run:
Equal
*/