EndsWith() in C#
EndsWith() in C#
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); } }DEMO
EndsWith() in C#
Reviewed by Bhaumik Patel
on
8:48 PM
Rating: