CS - 6 Key Value Pairs
Hashtable Hash tables are a non-primitive data type. They store data in key value pairs. They are from the System.Collections namespace. Here is how we define a hash table: Hashtable myTable = new...
Hashtable Hash tables are a non-primitive data type. They store data in key value pairs. They are from the System.Collections namespace. Here is how we define a hash table: Hashtable myTable = new...
TIPS For infinite loops. It is recommended to use while loops for infinite loops as for loops will throw an exeption. for loops for loops have an increments and will run until the increments r...
Enhanced if statements / conditional operators There is a shorter way to write a single if else block: string number_confirm; number_confirm = (a == 10) ? "Yes a is 10" : "no a is not 10"; Console...
Arrays with nodes A linked list stores data fundamentally different from an array. Instead of a collection sitting side by side in memory. A linked list is a single object floating in heap space. I...
About App resources are static additional files that your source code uses to build your application. This can be: bitmaps (images) Layout definitions (XML) User Interface strings Animatio...
Bits Bytes and Bitwise In this example we will explore the Bitwise means of storing user information in a game of tictac toe, and other easy to visualize scenarios Single vs structured data type...
Non-primitive Types By Mosh Hamedani Extras by Zenovak Classes Classes are building blocks of our applications. A class combines related variables (also called fields, attributes or properties...
Primitive Types and Expressions By Mosh Variables and Constants A variable is a name that we give to a storage location in memory. We use variables to store temporary values in memory. A con...
The most primitive data structure. After learning at least one programming language, you have definitely came accross arrays. The array is always statically typed and sized. An array store your d...
By Mosh What are Logical Operations? Logical operations are part of Boolean algebra, which is often taught to students of computer science and electronic engineering at University. So, if you...