C# - Bitwise Mathematics and Enums (.Net Core Console Application Basic Example)

Опубликовано: 18 Март 2026
на канале: Gavin Lon
924
21

Mobile apps, 2D and 3D games, web applications and more can be developed rapidly using C#. C# is a very powerful and flexible .NET programming language.

This video focuses on the Enum data type using combinations of enum list items that can be passed as one parameter to a function and processed using Bitwise mathematics. Enums allow the developer to group a set of named integer constants. A switch statement is also used in this code example. Switch statements enable the developer to match a pattern expression to pattern match criteria in order to evaluate which switch section should be run. LINQ is briefly used to calculate various aggregated data based on a chosen combination of monthly expenditures for a fictitious company.

This video clip is taken from a course entitled, "C# for Beginners", which is provided for free by this channel. Please see the original tutorial at this location,

   • C# for Beginners - Part 13 - C# Enums Tuto...  

Links
--------
If you’d like to make a donation to help support the channel, please click the link below,

https://www.paypal.com/paypalme/GavinLon


C# for Beginners - Part 11 - Switch Statements Tutorial
   • C# for Beginners - Part 11 - C# Switch Sta...  

Video Guide on how to Install a Free Version of Visual Studio 2019
---------------------------------------------------------------------------------------------------------

   • Visual Studio 2019 Community Edition Insta...  


Visual Studio 2017 Community Edition Information
---------------------------------------------------------------------------------

NET Core Prerequisites - Windows
https://docs.microsoft.com/en-us/dotn...

.NET Core Prerequisites - macOS
https://docs.microsoft.com/en-us/dotn...

Download Visual Studio Community Edition for Windows
https://docs.microsoft.com/en-us/visu...

Download Visual Studio Community Edition for Mac
https://docs.microsoft.com/en-us/visu...

Download Visual Studio Code for Windows and Mac
https://code.visualstudio.com/download

.NET Core SDK - Overview
https://docs.microsoft.com/en-us/dotn...

Download .NET Core SDK
https://dotnet.microsoft.com/learn/do...

Visual Studio Licensing Terms
https://visualstudio.microsoft.com/li...

GitHub

Code
https://github.com/GavinLonDigital/En...

A special thanks to Mike Koenig (SoundBible) for the following sound effects
Crumble

All music was created by Gavin Lon Digital.

Contact
[email protected]