using System;
public class Program
{
public static void Main()
Console.WriteLine("EndsWith() in C#\n");
string name1 = "Lorem Ipsum is simply dummy text";
bool b = name1.EndsWith("text");
Console.WriteLine(b);
}