0
Iām having trouble with Boolean expression while using classes
How do you get/set the Boolean expression with in a class as an attribute or how can I store Boolean in a object in main? This is c# using visual studios
1 Answer
+ 1
An example as follows:
static void Main() {
bool b1;
bool b2 = true;
b1 = 5 > 4;
Console.WriteLine(b1);
}