A Switch is a selection statement, and it will execute a single case statement from the list of multiple case statements based on the pattern match with the defined expression. …
programmerdude
-
-
The if statement evaluates its condition expression to determine whether to execute the if-body. Optionally, an else clause can immediately follow the if body, providing code to execute when the …
-
1. Data Types Primitive Size Example String 2 bytes/char s = “reference”; bool b = true; char 2 bytes ch = ‘a’; byte 1 byte b = 0x78; short …
-
The operands in logical operators must always contain only Boolean values. Otherwise, Logical Operators will throw an error. Logical operators are used in decision making and loops. This is a …
-
The c# relational operators will return true only when the defined operands relationship becomes true. Otherwise, it will return false. Relational operators are used in decision making and loops. The following …
-
Arithmetic operators are used to perform arithmetic operations such as addition, subtraction, multiplication, division, etc. The following table shows these opearators Operator Operator Name Example + Addition Operator 6 + …
-
Like many other programming languages. It’s good practice to include the comments in our c# code to provide detailed information about the functionality, like what a specific block or line …
-
A keyword is a reserved word. You cannot use it as a variable name, constant name etc. In C# keywords cannot be used as identifiers. However, if we want to …
-
These are for more for JavaScript frameworks Angular.js Angular for the jQuery developer Angular.js Guide Angular.js Material Designing Angular.js Style Guide Angular.js Tutorial AngularJS – Step by Logical Step AngularJS …
-
/* * GLOBAL OBJECTS > OBJECT * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object */ // Global object: properties Object.length // length is a property of a function object, and indicates how many arguments the function …