C# Enumeration | C# Enum | Enumeration in C#

Опубликовано: 02 Май 2020
на канале: Codebuns
1,840
68

MASTER C# Enumeration or C# Enum with this STEP-BY-STEP walkthrough covering many important topics with hands-on coding.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

SUBSCRIBE: http://bit.ly/For-New-Videos | WATCH NEXT:    • C# Single Dimensional Array | 1D | C#...  

C# Enumeration | C# Enums | Enumeration in C#
The objective of this video is to familiarize you with the C# Enum, short for enumeration. You will learn how to declare, create and use C# enumeration, including code examples of the commonly used methods and operators. Finally, look at the different ways to iterate through enumeration members.

C# Enumeration, or C# Enum for short, is a custom data type that allows you to group a fixed set of name-value pairs. You use c# enum keyword to define a new value type of enumeration, which is strongly typed that prevents many errors and makes the code easier to read and understand.

C# Enum Syntax:
enum enumName { constant1, constant2, constant3, ... }

This is the beginners to advance level tutorial series designed to give your learning that extra push where you're shaky. You'll gain more confidence and retain the information longer with these step-by-step videos.

➖➖➖➖➖ TOPICS COVERED ➖➖➖➖➖

SLIDES
✅ 0:42 What is enumeration?
✅ 1:27 C# Enumeration Syntax

DEMO
✅ 1:32 C# Enum Declaration
✅ 2:27 What's the enum underlying datatype?
✅ 11:17 Enum with C# ToString()
✅ 12:19 Enum with C# IsDefined()
✅ 12:24 How do you know if a value or element exists in the enumeration?
✅ 14:44 Enum with C# TryParse()
✅ 17:59 Enum with C# Operators
✅ 21:20 Enum with C# Switch Statement
✅ 25:20 Enum with C# foreach Loop

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

READ THE STEP-BY-STEP ARTICLE:
📝 https://codebuns.com/csharp-intermedi...

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

IMPORTANT LINKS:
📝 http://bit.ly/online-editors
📝 https://try.dot.net/
📝 http://bit.ly/csharp-switch
📝 http://bit.ly/csharp-foreach

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

Please SUBSCRIBE and enable notifications to see NEW VIDEOS
🔔 http://bit.ly/For-New-Videos

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

🙏 Please don't forget to leave a like! 👍

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

CONNECT:
🌐 WEBSITE: https://codebuns.com/

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

FOLLOW ME:
🔸 MEDIUM:   / codebuns  
🔸 TWITTER:   / codebuns  

THANK YOU!