I have used Visual Studio 2012 for debugging purpose. But you can use any version of visul studio as per your availability..
using System; public class StringExercise { public static void Main() { string str; int length = 0; Console.Write("Input the string : "); str = Console.ReadLine(); Console.Write("The characters of the string are : "); while (length <= str.Length - 1) { Console.Write("{0} ", str[length]); length++; } Console.ReadLine(); } }
20 July 2019 2708 Written By: Rohit
© 2020 Tech Study. All rights reserved | Developed by Tech Study| Privacy Policy | Sitemap