在 Visual Studio 中,我使用了以下代码:
private bool answer = true; Private Buttonclick() { if() { answer =false } }
编译器给我一个警告,说“已分配答案,但从未使用过它的值”。我该如何解决?
c# winrt-xaml
c# ×1
winrt-xaml ×1