10: Conditional Statements In C# | If, Else if, Else | C# Tutorial For Beginners | C Sharp Tutorial
In this C# tutorial you will learn about conditional statements which are used to run specific blocks of code, if certain conditions are met. Conditional Statements are used constantly in C# applications.
Review the Operator episode here: • 5: Different Operators...
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Material for this lesson: / lesson-material-42361704
Пікірлер: 55
How is it that your explanations are so easy yet every school assignment I get is SO awfully explained that I have to look up 5 different websites just to realise how easy it is. Even now my assignment doesn't fully make sense but thanks to you I managed to understand atleast 1 part :)
@BionicEdit
4 жыл бұрын
kurochi chan I felt this bro
@bubblegum2445
4 жыл бұрын
ikr?? lol
@cicbeats8897
4 жыл бұрын
I studied programing for 4 years in university. Every week we had 4 hours of C# explaining things that my boy explained for 10 mins.
@eavaav3766
3 жыл бұрын
SAME!!!!!!!!!! I hate that I pay thousands of dollars for college courses and instructors that barely teach me anything, when the only reason I'm passing those classes is because of stack overflow and youtube.. and the info on those websites is available for free
@lysergichedgehog7769
Жыл бұрын
I'm in a Bootcamp right now and completely feel this. I have to find different source material in which it provides a more in-depth look into comprehending this subject matter.
Hi everyone! Sorry about the echoing audio quality in this one. The next video will be a bit echo'ee too, but I will try and get it fixed for future episodes :)
@browntulipsmedia3419
5 жыл бұрын
Audio wasn't that bad.
@bigdanslivestreams4060
2 жыл бұрын
@@browntulipsmedia3419 Yeah, I honestly couldn't tell.
Its very very hard to teach someone how to program and you are clearly doing it perfectly, with your help I learned HTML, CSS, JavaScript, Python and now decided to try me some C#. You are amazing!
Maigi pa dine madali dali, thank you!
I absolutely love the way u explain everything so easily. This is the best tutorial for beginners. Thank you!
2 Months into coding and this are the best teaching videos that I have ever watch. Thank You!
One of the best tutorials for c#, ive learned ALOT!
finally, I found the right video and the right channel. Thank you😊
Thank you so much. one of the best if not the best c# tutorial.
Great video! Thank you!
You and The New Boston is really great teacher i learn programming because of you two. Thanks.
Excellent, as always!
Thank you so much for this video! I couldn't find a video that explained if statements with Visual Studio then I found your page.
Your explanations always on point , easy to understand
omfg im reading this course in my country and i was stuck the whole day, your explanation was crystal clear to me.
quarantined student here. Close to giving up but these are helping a lot. Makes me wonder why I am enrolled in a degree course when this is much more efficient use of study time.
Thank you for the easy and simple explanation :)
your tutorial is direct to the point. Wazzz up dude im from philippines ^_^
Great explanation, thank you.
Awesome explained, Thank you ! :)
Great content 👌👌really helpful
Thanks for the info!
The main character in explanations
thanks alot God bless you
i have a practical exam tom about if statement and this helped me understand everything
you are more hansom, smarter and Understanding than my professor.
millions thanksss
u are awesome....!!!
Good one...
holy shit great vid
Do you have c# program that deals with computation, variable, and if ,else if statement..
Is there any other way to check data (other than ifs)?
I want to use two conditions in if loop using && is it possible?
Design an algorithm that will read a series of integers at the terminal. The first integer is special, as it indicates how many more integers will follow. The first integer must be between 3 and 10. Your algorithm is to calculate the sum and average of the integers, excluding the first integer, and display these values to the screen. The program must also display the minimum and the maximum number entered excluding the first integer. Write an algorithm in the form of Pseudocode and flowchart. Perform desk checking (include desk check table). Implement it in Python or C#. like if u know how to do the C++ code for this hit me up pleaase
QUESTION 1 a) To improve proceeds from ticketing at the various stadia, authorities decided to automate the way tickets were sold. As a programmer, consider the automation process as a program development process and explain the phases you would consider when you develop your system. b) Assuming you are to write an algorithm to depict the various components of the system. Determine the various section of the algorithms that will help any programmer without any knowledge of the system to correct build the system. c) Visualization is usually the best way to explain how a system works. Draw a well-labeled diagram to show the various parts of your system.
Hello i hope you can help me i cant find the answer anywhere tho, So as following I have an assignment, and i have 4 labels ,2 buttons and a listbox when i add items to my listbox with a button for example a sentence, then i have my 2 other buttons btnAccept and btnDecline When i click btnAccept or decline the sentence in my listbox should be remove gone but idk how to do this, and second of all is when i i click btnAccept my value in 1 of the 4 labels, labelAccept should change to labelAccept 1 if i click btnAccept again once i've added a new sentence to my listbox and i click on btnaccept then the labelAccept 1 changes to labelAccept 2 the value has to change each time if i accept more or decline more vice versa for other labels any idea ? maybe u can help me out i would be so gratefull .
how do i make so the if statement is about 1+ words instead of numbers?
@zaynmehrali9096
4 жыл бұрын
Maybe you've found out the answer, however you would simply change the data type to a string. e.g. string a = "Hello".
Could anyone help me guys for me when I type if, the if becomes red everytime and doesnt work.
Ok but how do i assign this to a specific label?
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GreatVideo { class Program { static void Main(string[] args) { string message = "Great Video!"; Console.WriteLine(message); } }
QUESTION 3 a) A particular part of a program is to be repeated 100 times. Determine how this could be efficiently done. b) Write a pseudo code for the question in “a” above. c) Implement your answer in “a” above, by writing a program to display “The Russian has invaded Ukraine” 100 times. Your display should be numbered from 1 - 100
first
Kindly help me solve this; QUESTION 5 a) Conditional operators are some of the key building blocks of programming. Convert the conditional operation below to an if-else statement. Y = (A
Should I be worried that its uploaded on April fools day?
C# keeps giving me shit about else statements and how they cant run instructions even tho I'm doing it the same way you and 2 others did plz send me help lmao edit 5mins l8r: nvm I figured it out
@PinkMappy
3 жыл бұрын
I think I have the same problem, how did you fix it?