Answers for "c# code for int string in readline"

2

c# convert readline to int

int intTemp = Convert.ToInt32(Console.ReadLine());
Posted by: Guest on February-04-2020
0

c# C# read text from a certain line number from string

string GetLine(string text, int lineNo) 
{ 
  string[] lines = text.Replace("\r","").Split('\n'); 
  return lines.Length >= lineNo ? lines[lineNo-1] : null; 
}
Posted by: Guest on December-12-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language