Quote:
that code work fine on Visual Basic 2010
i used now c# 2015 and there no dim on c#?
This is the principle: different names, different languages, different ways to do things.
The same thing is done differently on different languages.
You need to learn both languages to be able to translate between them.
You can't learn a new language by asking tens of questions in this forum, it will be more efficient if you find a tutorial to get you started.