Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
誰かが親切にこれがどのように機能するか説明できますか?
if ((Control.MouseButtons & MouseButtons.Left) != 0)
MSDN は、Control.MouseButtons プロパティが、どのマウス ボタンが押された状態にあるかを示す値を取得するとのみ述べていますが、その「&」がどのように機能し、なぜ 0 とは異なる必要があるのか 理解できません。