Home > Back-end >  C # syntax problems
C # syntax problems

Time:04-23

Return (the value is an int I? I: defaultvalve) q: the value is behind the int a I, how do you understand this I?

CodePudding user response:

Declare a variable equivalent

Value is
 if (int) 
{
Int I=value;
}

CodePudding user response:

The
reference 1/f, small white ah really reply:
equivalent to declare a variable at the same time

Value is
 if (int) 
{
Int I=value;
}


That can't understand this sentence! If the value is type int, it returns a new definition of value, I don't understand

CodePudding user response:

The
reference 1/f, small white ah really reply:
equivalent to declare a variable at the same time

Value is
 if (int) 
{
Int I=value;
}


Oh, seemed to understand, if (e.c. with our fabrication: ontrol is IStyleInterface CTRL) this sentence, is understood as the if (e.c. with our fabrication: ontrol is IStyleInterface)={IStyleInterface CTRL e.c. with our fabrication: ontrol as IStyleInterface} right?

CodePudding user response:

reference zhangm_tt reply: 3/f
Quote: refer to 1st floor really small white ah response:
equivalent to declare a variable at the same time

Value is
 if (int) 
{
Int I=value;
}


Oh, seemed to understand, if (e.c. with our fabrication: ontrol is IStyleInterface CTRL) this sentence, is understood as the if (e.c. with our fabrication: ontrol is IStyleInterface)={IStyleInterface CTRL e.c. with our fabrication: ontrol as IStyleInterface} right?


Yes.
  • Related