76 389
Assignments Done
Successfully Done
In May 2019

Answer to Question #4559 in C# for Steve Frey

Question #4559
How do you input data (one letter for example) one at a time in a class other than Main().
Expert's answer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace One_letter
class Program
& static void Main(string[] args)
& {
int result=10;
string inputstring = "";
Console.Write("Enter string: ");

while (result != 0)
inputstring = Console.ReadLine();
& }

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions