C# if-else Basic Example (.NET Core Console Application)

Опубликовано: 17 Октябрь 2024
на канале: Gavin Lon
236
9

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 is a short video clip taken from a tutorial (this tutorial can be found at this location,    • C# for Beginners - Part 8 - C# If Sta...  ) provided by this channel . It is part of a course entitled, "C# for Beginners".

In this video clip we dive right into code. For details on the project creation process, please view the tutorial at this location,    • C# .NET Core Console Application Proj...  .

This short clip demonstrates the C# code for creating an if-else statement. The example is deliberately simple in order to focus on the structure of an if-else code block in C#.

I hope you gain value from viewing this tutorial.

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


.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...


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

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

All music was created by Gavin Lon Digital.

Contact
[email protected]