דילוג לתוכן
שאלה

Conditions in if statements

תצוגה מקדימה

מפתח התשובות מוצג למורים מחוברים.

Conditions in if statements

An if statement in C# runs its block only when its condition evaluates to __________. A condition must produce a value of type __________, so writing an int in an if test causes a compile-time error. To compare two values, a programmer uses the __________ operator rather than the assignment operator.

nullequalityintzeroboolfalsestringtrue

Consider the Boolean value that lets the if block run, and the type that conditions must have in C#.

פרטים

אין תיאור עדיין.

מקצועות
c#
קהל יעד
תיכון · כיתות י׳–י״ב
רמת קושי
7 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר
עודכן
לפני 4 ימים

תגובות

  1. אין תגובות עדיין.
© כל הזכויות שמורות