is there such thing as a good tool to convert vb.net to c#?
this whole assignment is kind of a joke
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
milind khirePosted Apr 13, 2007, 7:24 AM
cdogPosted Apr 4, 2007, 9:48 PM
Scott LyslePosted Apr 4, 2007, 7:07 PM
For example, in VB you can get away with looping through a collection using a dictionary entry and if you have an object stored in the value side of the collection and know what property you want to access, you can do it directly, e.g.:
txtSomeProperty.Text = de.Value.SomeProperty.ToString();
In C#, you can't do that, to do that same thing you'd need to do something like this:
txtSomeProperty.Text = ((TheClass)(de.Value)).SomeProperty.ToString();
I have not seen a translater yet that will fix that one.