latest Post

Calculate the Length of a string program in c# .net

using System;
class Program
{
    static void Main()
    {
        string s1 = "Logic";
        Console.WriteLine("The Length of the First String is : " +s1.Length);
        string s2 = "";
        Console.WriteLine("The Length of the Second String is : " +s2.Length);
        Console.ReadLine();
    }
}

About Mallikarjun A

Mallikarjun A
Recommended Posts × +

0 comments:

Post a Comment