Is it easy to do this?

my way is much easier...

I would not even think of doubting about that jbennet. Just pointing out it could be done in C# also. ;o)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.