Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

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

927 views on YouTube

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,

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

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

Visual Studio 2017 Community Edition Information
———————————————————————————

NET Core Prerequisites – Windows
https://docs.microsoft.com/en-us/dotnet/core/windows-prerequisites?tabs=netcore2x

.NET Core Prerequisites – macOS
https://docs.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore2x

Download Visual Studio Community Edition for Windows
https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2017

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

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

.NET Core SDK – Overview
https://docs.microsoft.com/en-us/dotnet/core/sdk

Download .NET Core SDK
https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial

Visual Studio Licensing Terms
https://visualstudio.microsoft.com/license-terms/mlt553321/

GitHub

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

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

All music was created by Gavin Lon Digital.

Contact
gavinlondee@gmail.com