C Sharp (C#) - Classes and Objects
Identify the error in this C# method that tries to reset a private integer field 'score' to zero:
public void ResetScore() {
score == 0;
}public void ResetScore() {
score == 0;
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions