Pause execution of a method without locking GUI. C#
问题 I'm working on a card game in C# for a project on my Intro to OOP paper and have got the game working now but am adding "flair" to the GUI. Currently cards are dealt and appear on the UI instantaneously. I want to have to program pause for a moment after dealing a card before it deals the next. When a game is started the following code runs to populate the PictureBoxes that represent them (will be a loop eventually): cardImage1.Image = playDeck.deal().show(); cardImage2.Image = playDeck.deal(