How to Create a C# Calculator in 25 minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ค. 2024
  • How to Create a C# Calculator in 25 minutes using the Switch statement to select one of many code block to be executed. An excellent tutorial for beginner and advanced learner.
    ______________________Note: Missing Dot Codes_____________________
    if (btnDec.Text == ".")
    {
    if (!txtDisplay.Text.Contains("."))
    {
    txtDisplay.Text = txtDisplay.Text + btnDec.Text;
    }
    }
    -----------------------------------------------------------------------------------------------------------------
    Channel members download the C# Calculator source code here:
    drive.google.com/file/d/1RP2K...
    Join this channel to get access to codes, perks, and see more interesting videos. / @djoamen
    To support more videos from DJ Oamen, visit POamen Paypal
    www.paypal.me/POamen

ความคิดเห็น • 25

  • @itsyeko
    @itsyeko 2 ปีที่แล้ว +1

    Thank you very much, i was in a hurry to do this for a small school project!

    • @DJOamen
      @DJOamen  2 ปีที่แล้ว

      You are welcome!

  • @user-wd3kq4yb1i
    @user-wd3kq4yb1i หลายเดือนก่อน

    Thanks so much i got stuck and watching this vid helped a lot

    • @DJOamen
      @DJOamen  หลายเดือนก่อน

      Glad it helped

  • @abdolabdollah1783
    @abdolabdollah1783 3 ปีที่แล้ว

    Thanks. Great teacher

    • @DJOamen
      @DJOamen  3 ปีที่แล้ว

      You are welcome!

  • @thivankawanigasekara6462
    @thivankawanigasekara6462 2 ปีที่แล้ว

    Thank you very much Sir !

    • @DJOamen
      @DJOamen  2 ปีที่แล้ว

      Keep watching

  • @sayitopuma8061
    @sayitopuma8061 2 ปีที่แล้ว

    Thank you very much

    • @DJOamen
      @DJOamen  2 ปีที่แล้ว

      You are welcome

  • @hussnainmehdi3629
    @hussnainmehdi3629 3 ปีที่แล้ว

    Good .
    Keep it going.

    • @DJOamen
      @DJOamen  3 ปีที่แล้ว

      Thanks

  • @orhanrafiq9463
    @orhanrafiq9463 3 ปีที่แล้ว +1

    First of all, you are preparing really useful videos, my teacher.
    But I think you forgot the dot in this vido

    • @DJOamen
      @DJOamen  3 ปีที่แล้ว +1

      Yes, you are right:
      Thanks, and here is the code, I will also include it as a correction on the description.
      if (btnDec.Text == ".")
      {
      if (!txtDisplay.Text.Contains("."))
      {
      txtDisplay.Text = txtDisplay.Text + btnDec.Text;
      }
      }

    • @orlazajosalyng.3161
      @orlazajosalyng.3161 3 ปีที่แล้ว

      @@DJOamen
      this code worked with my program:
      if (textDisplay.Text == "0")
      {
      textDisplay.Text = ".";
      }
      else
      {
      textDisplay.Text = textDisplay.Text + ".";
      }

  • @omiorahman6283
    @omiorahman6283 3 ปีที่แล้ว

    Pretty cool calculator

    • @DJOamen
      @DJOamen  3 ปีที่แล้ว

      My pleasure 😊

  • @mitchellsottile8358
    @mitchellsottile8358 2 ปีที่แล้ว

    thanks boss

    • @DJOamen
      @DJOamen  2 ปีที่แล้ว

      Any time

  • @SajjadKhan-ur5hs
    @SajjadKhan-ur5hs 3 ปีที่แล้ว

    Hi sir H r u? Dear sir plz make a vedio about result management system in c#

    • @DJOamen
      @DJOamen  3 ปีที่แล้ว

      Already uploaded, see the links below:
      th-cam.com/video/X8UNeD8Tyqk/w-d-xo.html
      th-cam.com/video/dYlo6M3m75Y/w-d-xo.html

  • @caaqilyare9759
    @caaqilyare9759 3 ปีที่แล้ว

    Nin adg ba thy nio 🙏🙏 niicle wey kugu faiiday io zaacid 🤗

    • @DJOamen
      @DJOamen  3 ปีที่แล้ว

      I don't get it, bro

  • @rhonamaghinay4958
    @rhonamaghinay4958 2 ปีที่แล้ว

    struggle is real 😵 i cant find were the toolbox is .. 😭😭😭

    • @DJOamen
      @DJOamen  2 ปีที่แล้ว

      Select Window Menu and The click on Reset Windows Layout and click on YES