Lesson 5: Declaring and Working with Variables in C#
This lesson covers naming variables, an overview of the built-in data types and different methods to declare variables. The object data type and nullable types are also covered.
Content
What is a Variable 00:00
Naming Variables 01:06
Built-in Value Types 01:38
Reference Types 02:05
Structure Data Types 02:20
Declaring Variables 02:46
DEMO: Declaring char Variables 03:19
DEMO: Declaring string Variables 05:00
DEMO: Declaring bool Variables 05:29
DEMO: Declaring int Variables 05:51
DEMO: Declaring decimal Variables 06:13
DEMO: Declaring DateTime Variables 07:16
DEMO: Declaring DateOnly Variables 08:13
Declare and Assign Values to Variables 08:46
DEMO: Declare and Assign Values to Variables 09:41
The Object Data Type 11:35
DEMO: The Object Data Type 12:18
Default Values of Data Types 14:04
DEMO: int Default Values 14:47
DEMO: Using the default Keyword 15:24
DEMO: Using string.Empty 17:30
Nullable Data Types 17:50
DEMO: Nullable Data Types 18:23
Lesson Summary 19:27
You can get all the samples and hands-on labs for this course at https://www.pdsa.com/YouTube.
#csharpvariables #variables #datatypes #nullabletype #development #csharp #programming #dotnet #dotnetcore #dotnet6 #dotnet7 #dotnet8 #pauldsheriff #pluralsight #youtube
Paul.About()
Hello, my name is Paul D. Sheriff and I have a passion for teaching. I have been training developers for over 35 years through books, videos, article, blog posts, and international conferences and user groups.
Paul.Contact()
Website: https://www.pdsa.com
Email: [email protected]
LinkedIn: / paulsheriff
Blog: https://blogs.pdsa.com/
Pluralsight: https://app.pluralsight.com/profile/a...
YouTube Channel: @pauldsheriff
Watch video Lesson 5: Declaring and Working with Variables in C# online without registration, duration hours minute second in high quality. This video was added by user Paul D. Sheriff 26 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 138 once and liked it 5 people.