C# Operators Vocabulary

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering C# operator types, syntax, definitions, and string concatenation methods.

Last updated 11:50 AM on 10/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards

Operators

Symbols used in C# to perform operations on variables and values.

2
New cards

Arithmetic Operators

Operators used to perform common mathematical operations, such as addition, subtraction, multiplication, and division.

3
New cards

Addition Operator (+)

An arithmetic operator that adds together two values or variables.

4
New cards

Subtraction Operator (-)

An arithmetic operator that subtracts one value or variable from another.

5
New cards

Multiplication Operator (*)

An arithmetic operator that multiplies two values or variables.

6
New cards

Division Operator (/)

An arithmetic operator that divides one value or variable by another.

7
New cards

Modulus Operator (%)

An arithmetic operator that returns the division remainder.

8
New cards

Increment Operator (++)

An arithmetic operator that increases the value of a variable by 1.

9
New cards

Decrement Operator (--)

An arithmetic operator that decreases the value of a variable by 1.

10
New cards

Assignment Operators

Operators used to assign values to variables.

11
New cards

Add Assignment Operator (+=)

An assignment operator that adds a value to a variable and assigns the result to that variable (e.g., x+=3x += 3 is equivalent to x=x+3x = x + 3).

12
New cards

Subtract Assignment Operator (-=)

An assignment operator that subtracts a value from a variable and assigns the result to that variable (e.g., x−=3x -= 3 is equivalent to x=x−3x = x - 3).

13
New cards

Multiply Assignment Operator (*=)

An assignment operator that multiplies a variable by a value and assigns the result to that variable (e.g., x∗=3x *= 3 is equivalent to x=x×3x = x \times 3).

14
New cards

Divide Assignment Operator (/=)

An assignment operator that divides a variable by a value and assigns the result to that variable (e.g., x/=3x /= 3 is equivalent to x=x/3x = x / 3).

15
New cards

Modulus Assignment Operator (%=)

An assignment operator that calculates the division remainder of a variable by a value and assigns the result to that variable (e.g., x%=3x \%= 3 is equivalent to x=x%3x = x \% 3).

16
New cards

Relational / Comparison Operators

Operators used to compare two values or variables, returning a Boolean value of True or False.

17
New cards

Equal to Operator (==)

A relational operator that evaluates whether two values or variables are equal.

18
New cards

Not equal Operator (!=)

A relational operator that evaluates whether two values or variables are not equal.

19
New cards

Greater than Operator (>)

A relational operator that evaluates whether the value on the left is greater than the value on the right.

20
New cards

Less than Operator (<)

A relational operator that evaluates whether the value on the left is less than the value on the right.

21
New cards

Greater than or equal to Operator (>=)

A relational operator that evaluates whether the value on the left is greater than or equal to the value on the right.

22
New cards

Less than or equal to Operator (<=)

A relational operator that evaluates whether the value on the left is less than or equal to the value on the right.

23
New cards

Boolean Logical Operators

Operators used to determine the logic between variables or values and combine multiple relational expressions when testing more than one condition.

24
New cards

Logical AND Operator (&&)

A logical operator that returns True if both statements are true.

25
New cards

Logical OR Operator (||)

A logical operator that returns True if one of the statements is true.

26
New cards

Logical NOT Operator (!)

A logical operator that reverses the result, returning False if the evaluated result is true.

27
New cards

String Concatenation

The process of combining two or more strings into one.

28
New cards

string.Concat()

A method provided by the System.String class that concatenates multiple strings passed as arguments.

29
New cards

string.Join()

A method used to concatenate an array or collection of strings with a specified delimiter.

30
New cards

String Interpolation

A string formatting option requiring a dollar sign ($) that substitutes values of variables into placeholders inside a string.