13: Going Over Our First C# Project | C# Calculator | C# Tutorial For Beginners | C Sharp Tutorial
HTML-код
- Опубликовано: 9 фев 2025
- In this lesson I will go over four of the projects that were send to me from my viewers, as well as my own project solution. I will give feedback and tips to how these projects were made.
➤ 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
Before saying anything, YES I had to re-record the screen afterwards because it got corrupted :) So my hands doesn't match up with what the screen is doing.
hey mmtuts can you tell me what did you use visual studio
Its visual studio 2019 ??
There are lot of tutorial channels on youtube but this one is by far the best for me.I have got a distinction on my php assignment,All credits go to this channel,Thanks for giving these lessons for free.You will get 1M subs very soon,you deserve it.
I couldn't build a calculator based on the knowledge we had on previous knowledge and those examples people sent were made by people that already had some experience on coding.
You can build one with the stuff dani said. It definitely won't look like these though. If you ever get stuck, make sure to check stackoverflow or microsoft threads.
Same, the previous videos were very good but I wanted to at least see Dani's full code here, so I can at least search how some things he used there work and better understand it. Now I have to search some not-this-professional tutorial where I can see the full code.
yup, feeling kinda click baited 13 episodes in, how did i not see this coming when i felt he was going in circles with the basics in the beginning
love you don't stop making html,c#,php, unity love your channel you are the best :)
This is just... amazing. Thanks a lot, man! Keep posting those ultra-helpful videos :)
Super
And last one the program with beep sound will make me more excited and shocked i really love to do and I will try that one ..
Thank you for making this video
Nice going everyone... As for me, I learn stuff by typing every single thing a master taught me so that I can know when and how to use several methods because I am clueless on my own... Thanks Daniel for ur series on c#!
This was very well done, very informative, and a lot of fun. Thank you!
From another dane, this you do here is so nice, i love how to teach us.. even so i cant do some of this yet i try and i think in time i will be able to use your videos to learn this ;) keep it going, i really appriciate your work.
i thought you will teach how to do so! i was so enthusiastic , but suddenly u just showed some projects as main ideas !
I hope that you can also have a tutorial on java same like this. Your tutorials are very comprehensive and easy to understand
I love this video! An idea for the next one could be; find all the primes between 1-n (where n is given by the user) as fast as possible - I would love to see who could come up with the fastest solution! This would also require some further skills, and embed the idea of efficient code. You would have to show how to implement a proper timer, maybe programming a class for that first for people so the timer is fair for everyone (i.e the deciding factor is their actual code for finding primes, not implementing a timer). A good benchmark is n=1000000 (a million), I think
Oh - and it would be nice if you ran the programs first before delving into their code
I used a switch to perform selection.
thx, I did this exersice just now.
The only thing I wonder still, is why one wouldnt use static methods for all the partial operations as seen at 25:39.
When using static, you also dont have to declare an object reference in the program.cs, which I dont understand the meaning of, or why you would want?
We didn't even learn loops why are there do while loops in the projects?
Some people have experience in other languages, I guess, and they may have googled some things. But yeah, using the knowledge from these tutorials my calc is hella simple, no loop, no classes and no protection against false inputs...
@@SnoopFun321 were you able to have a restart option?
@@hanssans3040 Nope.
Caesar, you are impressive :)
The first should have been with double instead of int. Try dividing 9 by 2... But its easy fix, mine works now, thx for the video
@12:20 How can code that includes typos like "acepted simbols" possibly produce any output other than a long list of error messages... best I can figure, either that spelling is a joke or that program should be throwing a thousand syntax errors every time it's compiled.
Just one remark:
The division operation won't work or will always show 0 as result, because first the result variable needs to be declared as double; secound you need to cast both the num1/num2 variables before actually dividing them. So instead result = num1 / num2 it must be result = (double)num1 / (double)num2
Anyhow, great video 👏
I have a question how can you check if an input is int or not? Since everything is a string when you type it in console, if I use the Int32.Parse in order to make my variable into an int an error shows before my program checks it because it is an invalid input for the Int32.Parse class.
Thanks in advance
angelos m you can check if your string contains a letter using a if statement and (else) you parse it
could you please do a tutorial for pagination for the php gallery project. i really need it for my website
a question! you mention that you want to declare all variables at the beginning of a procedure and not when they should be used, i have seen several instructional videos about C# and everyone has different opinions in this, if you googles this then it feels like predominantly answer is that one should not do this, but give variables as small a scope as possible. It helps with understanding what values they might get when you read the code later. What is your opinion and reason to think the other way around?
Thanks for good instructional videos, you have helped an amateur programmer who just wants to do this for hobby...
You are absolutely right. They should have as small scope as possible to avoid potential errors.
Relating back to your php login system. Could you show a tutorial on how to upload images when logged in?
Can you make dynamic tabulation sir :)
Can anyone help me with adding the error lines.I created The Calculator But i Dont know how to add the error text if the user typs in the wrong data type?
Please Any1
your audio is no the same what was your live stream :)
I use a lavalier mic during my lesson recordings because it allow me to stand up and teach, and a Blue Yeti mic for my streams when I sit in front of my PC.
thanks
You mention "error 40"...Us old-timers refer it to a PBKAC error..."Problem Between Keyboard And Chair"
bro can you start making C++ tutorials
Would you be interested in looking at the calculator I made?
23:40
Oh damn, mine is just a lot of if/else if statements, without loop at the end (couldn't figure it out) and very low resistance to user foolery... fells miserable man
same lol
Same dude
okay, this tutorial lost all meaning for me now, not demostrating how the source should or could look like, just demostrating others calculator codes, what am i to learn from this ? when do i get to see coding be used by the tutor ? when am i learning watching this ??? am i not to follow the tutor in my own opened new project that we started 13 episodes ago ?? or is this just a "sit down and listen and if we are all lucky, someone might learn something" class?
Just googled Error-40 and found this gold nugget, can't stop laughing.
en.wikipedia.org/wiki/User_error
you look a bit like Musk.
Can you make dynamic tabulation sir :)