# FallingSnowExample

**URL:** <https://forum.kirupa.com/t/fallingsnowexample/302089>\
**Category:** programming\
**Created:** [December 21, 2009, 6:13pm UTC](https://forum.kirupa.com/t/fallingsnowexample/302089 "2009-12-21T18:13:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustang\_65](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Mustang\_65](https://forum.kirupa.com/u/Mustang_65)\
**Post date:** [December 21, 2009, 6:13pm UTC](https://forum.kirupa.com/t/fallingsnowexample/302089/1 "2009-12-21T18:13:44Z")

</div>

I was very interested in the Falling Snow example. I don’t use C# so I was working on converting the code to [VB.NET](http://VB.NET). I seem to run into and issue with the following line:

```auto
CompositionTarget.Rendering += delegate(object o, EventArgs arg)

```

How do you convert this to [VB.net](http://VB.net)? Or is there a different way to do this in [VB.NET](http://VB.NET)?

Thanks,  
Mike Lockwood
