using System;
public class Program
{
public static void Main()
String str1 = "device";
String str2 = "machine";
int result;
Console.WriteLine("Test Case: ArgumentOutOfRangeException");
result = String.Compare(str1, 2, str2, -1, 2);
Console.WriteLine("Comparism of: str1 = '{0}', str2 = '{1}' is: {2}", str1, str1, result);
}