C# – Conditional Ternary / Comparision and Logical Operator

As usual today as well I will be showing operators in C# Shortcut for evaluating  an expression  and returning a result; Conditional Ternary Operator Here we are saying that if a and b is equal, evaluate first expression which is “Equal”, if not then evaluate “Not Equal” Comparision and Logical Operator Comparision operators used forContinueContinue reading “C# – Conditional Ternary / Comparision and Logical Operator”

C# – Expressions and Statements

Today, we are going to get the knowledge of expressions. Expressions have one or more operands and zero or more operators that evaluate to a single value. Statements – A complete instruction – assigment of an expressions to a variable, an increment / decrement etc. Statement must end in semi-colon; Whitespace is ignored (use forContinueContinue reading “C# – Expressions and Statements”

C# – Syntax (Operands & Operators)

Again let’s jump into c# syntax basically and let me show you what you need to know in the beginning. Operands -> variable names, object/server control names, literals – “Nouns”(you name these) Operators – > “Verbs”… they act on operands A detailed explanation could be found in the following taken from microsoft.com In C#, an operator isContinueContinue reading “C# – Syntax (Operands & Operators)”