Olivier Bélanger
Olivier Bélanger
CC#
Created by Krispy on 10/25/2022 in #help
sum of all numbers in between [Answered]
by adding to "première", you will exit your loop with your maximum number + 1. Try to do it on paper to understand the addition that is being made
126 replies
CC#
Created by hercules_x_x on 10/25/2022 in #help
Reverse boy results yob
@Hercules_x_x You can create a function that convert your string to an array of char and then reverse your array:
static string Reverse(string input)
{
char[] chars = input.ToCharArray();
Array.Reverse(chars);
return new string(chars);
}
static string Reverse(string input)
{
char[] chars = input.ToCharArray();
Array.Reverse(chars);
return new string(chars);
}
3 replies