Greetings everyone
I was wondering if i have bool x = true;
and i call a method after that might change x
value. would this change apply if the method is void & don't return the result.
Example :
bool x = true;
string x = "";
Change_value(x);
if (!(x))
x = "Ok";
would x value change when i call my method or do i need to do it as x = change_value(x)