C# Enums for beginners



C# Enums for beginners

C# Enums for beginners

πŸ”₯ Need to set up an API but donΒ΄t have hours to spare to do so? What about using MINIMAL API? You will have your API up and RUNNING in SECONDS!

πŸš€ SKYROCKET your C# skills and become a sought-after C# developer with our C# Progress Academy: https://www.udemy.com/course/master-fullstack-web-development-with-angular-and-csharp-aspnet/?couponCode=21DCYT

πŸ‘Š Want more C#? Check out our FULL C# Masterclass! https://www.udemy.com/course/complete-csharp-masterclass/?couponCode=CSMSYT23JUNE

πŸ“š Interested in APIs? Then you should check our chapter 11 of the TINY C# PROJECTS BOOK!
https://www.manning.com/books/tiny-c-sharp-projects?utm_source=tutorialseu&utm_medium=affiliate&utm_campaign=book_panjuta_tiny_7_19_22&utm_content=youtube&a_aid=tutorialseu&a_bid=1563805e

We’ll make sure to turn you into a true developer in no time!

Timestamps:
00:00 Introduction
00:18 Set up a new Enum and see how it works
02:16 Check out our C# program!
02:44 How can we use Enumerables?
08:10 Thanks for watching!

C# Enums for beginners

So, what is C#?
C# (pronounced “See Sharp”) is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.
C# is an object-oriented, component-oriented programming language. C# provides language constructs to directly support these concepts, making C# a natural language in which to create and use software components. Since its origin, C# has added features to support new workloads and emerging software design practices. At its core, C# is an object-oriented language. You define types and their behavior.

And what are ENUMS?
An enumeration type (or enum type) is a value type defined by a set of named constants of the underlying integral numeric type. To define an enumeration type, use the enum keyword and specify the names of enum members.
By default, the associated constant values of enum members are of type int; they start with zero and increase by one following the definition text order. You can explicitly specify any other integral numeric type as an underlying type of an enumeration type. You can also explicitly specify the associated constant values.
You cannot define a method inside the definition of an enumeration type. To add functionality to an enumeration type, create an extension method.
The default value of an enumeration type E is the value produced by expression (E)0, even if zero doesn’t have the corresponding enum member.
You use an enumeration type to represent a choice from a set of mutually exclusive values or a combination of choices. To represent a combination of choices, define an enumeration type as bit flags.

To learn more, make sure to watch the video, and we promise you that you’ll become a better developer by the end of the video! Have fun!

And thank you LAKEY INSPIRED for these amazing songs that we use in all our videos! @LAKEYINSPIRED

#csharp #coding #tutorial #learn #microsoft #net #enum #enumeration

TAGS
c#,.net,c-sharp,csharp,programming,visual studio,c sharp,learn c#,c# programming,c# tutorial,c# for beginners,learn c# programming,c# course,tutorial,coding,.net core,core,software engineering,enumeration,enum,enums,enum in c,c# struct vs class,enumeration definition,enumeration in c,enum c programming,ienumerable,c# struct,c# enum tutorial,enums in c#,c# enum,dot net,c sharp class,c# tutorial for beginners,unity,development,class,how to code,ienum

TutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x

C#: https://www.youtube.com/channel/UCqCnjtxdlG9qEgFJIUeLJNg
Facebook: https://www.facebook.com/TutorialsEU-109380204093233
LinkedIn: https://www.linkedin.com/company/tutorialseu
Discord: https://discord.gg/zwbrpCNB2M

Comments are closed.