Join Gerry O'Brien for an in-depth discussion in this video Using variables, part of Up and Running with C#.
C Sharp provides us with many built in data types for…storing information in our program as it executes on the computer.…However, in order to be able to work with this data,…we have to be able to store it in the computer's memory.…All data types are stored in the memory of the computer as the program is executing.…And in order to be able to get access to that information, to the data…that's stored in that memory, we create…something called either a variable or a constant.…These are named memory locations for the data that we store.…
So if we take a look at the different data…types that C Sharp makes available, such as the int…for storing integer values, or the char for storing character…values, string for storing a string of character values, et cetera.…All of this information has to be stored in our program…somewhere and, again, the program will store it in the computer's memory.…But how do we gain access to that without…knowing the physical memory address of where it's actually stored?…We do so by creating the variables and the constants to store that information.…
- Installing C#
- Working with loops
- Controlling program flow
- Using variables
- Building functions
- Creating and instantiating classes
- Catching errors
- Managing resources with the garbage collector
- Building collections
Skill Level Beginner
1. Introducing C#
2. C# Language Elements
3. Object-Oriented Programming in C#
4. Structured Exception Handling
5. Resource Management in C#
6. Extensible Types in C#
7. Windows Apps in C#
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.