DarkSystemCD
New member
- Joined
- May 1, 2022
- Messages
- 3
- Programming Experience
- 10+
Hello CSharp | C# Developer Community
[^] found a runtime message issue
Operator '<' cannot be applied to operands of type 'int' and 'object[]'
line 1 had to be added and there where no where to be found the runtime error specification
Operator '<' cannot be applied to operands of type 'int' and 'object[]'
the rest of the code is irrelevant which everything works;
that where integers and object arrays but,--> only this line issued the mispelled information for you to report to the community;
which MyVariable could be int or boolean from checking values from object array;
[^] found a runtime message issue
Operator '<' cannot be applied to operands of type 'int' and 'object[]'
[X] fixed with the following specification;:
if(MyVariable.GetType()==typeof(System.Boolean)&&
MyVariable==false) return;
line 1 had to be added and there where no where to be found the runtime error specification
Operator '<' cannot be applied to operands of type 'int' and 'object[]'
which was written like this; there was no such '<' operator:
if(MyVariable==false) return;
the rest of the code is irrelevant which everything works;
that where integers and object arrays but,--> only this line issued the mispelled information for you to report to the community;
which MyVariable could be int or boolean from checking values from object array;