read in multiple numbers c#
//Read line, and split it by whitespace into an array of strings
string[] tokens = Console.ReadLine().Split();
//Parse element 0
int a = int.Parse(tokens[0]);
//Parse element 1
int b = int.Parse(tokens[1]);
Also in C#:
- sum of digits in c#
- c# string remove special characters
- c# arraylist contains
- whats a string
- unity get number of child objects
- unity hide mouse
- oracle c# parameters wont work
- unity rigid body variable
- dynamic convert type c#
- mvc write to console
- Assets\playermove.cs(30,37): error CS1003: Syntax error, ',' expected
- check if multiple variables are null c#
- c# string to byte array
- csharp first element of array
- random bool c#
- c# program exit
- bool toggle unity c#
- texture to image unity
- c# static review
- unity make a int arry with preset values
- c# webcam
- perlin noise unity
- c# trim string
- serilog loglevel order