How to Use Timers in C#

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 34

  • @sahmedyanis
    @sahmedyanis 2 роки тому +2

    very simple, straight to the point and well illustrated.
    this video is very helpful thank you so much

  • @pooyayousefi582
    @pooyayousefi582 Рік тому +1

    Well explained, i just started with C#, i will hop on your discord!

  • @tugs8689
    @tugs8689 2 роки тому +2

    thank you man I've been looking for exactly this for a while and this is where I found a perfect solution

  • @zcodings
    @zcodings 3 роки тому +1

    Hey man great video. just joined on your discord

  • @1negroup841
    @1negroup841 2 роки тому +3

    For anyone watching this for the purposes of using this in unity and the Timer wont stop use Timer.EndInit(); in whatever function

  • @markoviitanen2671
    @markoviitanen2671 Рік тому +1

    Very well done. Keeping it simple enough. :)

  • @RyanBarkman-q6v
    @RyanBarkman-q6v Рік тому +1

    does not quite work for me, when the event gets called it crashes

  • @im1in260m
    @im1in260m 3 роки тому +1

    Does the code in the event handler execute on the same thread when using DipatcherTimer or is it a separate thread? Same question goes for the first example.

    • @veremiller2171
      @veremiller2171  3 роки тому

      That’s a really good question. I am going to take a guess here so don’t hold me 100% responsible for this but I think it uses a separate thread

  • @maddiebahle
    @maddiebahle 3 роки тому +1

    Thanks so much for the information!

    • @veremiller2171
      @veremiller2171  3 роки тому +1

      You're Welcome! Thank you for watching!!

  • @jonsch7804
    @jonsch7804 Рік тому

    so to use timers for Microsoft Forms i would have to use dispatcher timer aswell right?

  • @1negroup841
    @1negroup841 2 роки тому +1

    Hey This was very Useful. I was kinda curious about what happens when you stop the timer. in unity it just keeps going, so i wonder if i am just using it wrong.

    • @veremiller2171
      @veremiller2171  2 роки тому +1

      Yeah it could definitely have different behaviors based on the environment it is running in.

  • @leoleo20100216
    @leoleo20100216 Рік тому +1

    Very useful,clear. Thanks.

  • @ideletefile397
    @ideletefile397 3 роки тому

    Thank you! Simple yet informative.

  • @angus1111
    @angus1111 2 роки тому

    this is so useful , thank u for sharing !

  • @ahmedel-hindawi9226
    @ahmedel-hindawi9226 2 роки тому +1

    Could you please tell me what monitor you are using?

  • @DanielArloff
    @DanielArloff Рік тому +1

    Very useful thanks!

  • @Ultimateman
    @Ultimateman 3 роки тому

    Thanks this video came handy!

  • @abulchowdhury8170
    @abulchowdhury8170 3 роки тому

    hey do you know to make STOP sign for streets using c#?

  • @kormsd
    @kormsd 2 роки тому

    I dont understand why Timers are meant for static classes as they in themselves are instances

  • @rudijonker6844
    @rudijonker6844 3 роки тому

    Thanks for the video.

  • @peterpotnik8243
    @peterpotnik8243 3 роки тому

    thanks, wery good explained and helpfoul

  • @roumen1669
    @roumen1669 3 роки тому +1

    thank you very much!

  • @phungaiong6058
    @phungaiong6058 2 місяці тому

    verrry niceeee

  • @NickProkhorenko
    @NickProkhorenko 2 роки тому +1

    I cant stop timer.

    • @bedirhantekeli1681
      @bedirhantekeli1681 2 роки тому

      did u find anything ?

    • @NickProkhorenko
      @NickProkhorenko 2 роки тому +1

      @@bedirhantekeli1681 Since that time, i already understood how timers work at all. And, my invoid construction was a little not right, i made many mistakes, yes... 😏. But now all works as well, so dont worry.

  • @AarkazhiStudios
    @AarkazhiStudios 2 роки тому +1

    Most helpful tnq 💐

  • @dardimjs6171
    @dardimjs6171 Рік тому

    AAAAAAAAAIN ZÉ DA MANGA