var summoner = api.GetSummoner(Region.euw, "AlexK");
I want to change the euw into a variable. Like this
Console.WriteLine("Type your server") //and I type for example one of the following (eune,euw,na)
string server = Console.ReadLine();
var summoner = api.GetSummoner(Region.server, "AlexK");
Another example would be
Console.WriteLine("Type if you want to Read or Write");
string preference = Console.ReadLine();
Console.preferenceLine() //There is no practical use for this one just giving an example of where I want to place the variable.
The C# wrapper I am using is this one https://github.com/BenFradet/RiotSharp.
I am quite new to C# so ELI5 or send some links.
Thanks in advance.