× Main Menu

WPF C# Tutorial – Create a fun Balloon popping game in visual studio

Full Source C# Code for Balloon Popping Game in Visual Studio –

Below is the full C# source for the balloon poppping game, make sure you have followed along accurately and if there if any line showing red highlight under it check it with the code from below.

 

 

 




2 responses to “WPF C# Tutorial – Create a fun Balloon popping game in visual studio”

  1. coco says:

    When I start the game it works fine but after a few pops the game stops and in the .cs says that there is an exception unhandled “the enumerator is not valid because the collection changed.” in:
    foreach(var x in MyCanvas.Children.OfType())

  2. mari says:

    @coco: I had the same problem. My brackets were closing in the wrong place.

Comment on this tutorial and let us know how you got on -

%d bloggers like this: