eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ
eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
This is what i need
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
yes thanks
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
sorry I'm a beginner trying to learn
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
public class Reset
{
public double oldNumber;
public string active;
public bool Activet;
public Reset(double x, string y, bool z)
{
oldNumber = x;
active = y;
Activet = z;
}

}
public class Reset
{
public double oldNumber;
public string active;
public bool Activet;
public Reset(double x, string y, bool z)
{
oldNumber = x;
active = y;
Activet = z;
}

}
okey i made this class how i can use it ?
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
would love to send a doc if anyone found
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
but what I can use for another option ( a function that's take a different variables in same time)
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
aha
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
what u mean ?
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 11/3/2022 in #help
is it possible to make a static with 3 different variables (double, string, bool)
yes
21 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 10/20/2022 in #help
number or not HELP?
πŸ˜‰
5 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 10/20/2022 in #help
number or not HELP?
works
5 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 10/20/2022 in #help
number or not HELP?

Console.WriteLine("");
string c = Console.ReadLine();
if (int.TryParse(c, out var result))
{
Console.WriteLine($"Thanks for giving me the following number: {result}!");
}
else
{
Console.WriteLine("You didn't give me a valid number :c");
}

Console.WriteLine("");
string c = Console.ReadLine();
if (int.TryParse(c, out var result))
{
Console.WriteLine($"Thanks for giving me the following number: {result}!");
}
else
{
Console.WriteLine("You didn't give me a valid number :c");
}
5 replies
CC#
Created by eult πŸ‡΅πŸ‡ΈπŸ‡΅πŸ‡Έ on 10/2/2022 in #help
Only numbers
while (beetween != "+" && beetween != "-" && beetween != "*" && beetween != "/")
{
Console.WriteLine(" Please make sure you use");
Console.WriteLine(" + or - or * or /");
beetween = Convert.ToString(Console.ReadLine());
}
while (beetween != "+" && beetween != "-" && beetween != "*" && beetween != "/")
{
Console.WriteLine(" Please make sure you use");
Console.WriteLine(" + or - or * or /");
beetween = Convert.ToString(Console.ReadLine());
}
like this but for a number πŸ™‚
6 replies