[Solved] Compile error: Only assignment, call, increment, decrement, and new object expressions can be used as a statement [closed]



Compile error: Only assignment, call, increment, decrement, and new object expressions can be used as a statement [closed]

solved Compile error: Only assignment, call, increment, decrement, and new object expressions can be used as a statement [closed]