is there such thing as a good tool to convert vb.net to c#?
this whole assignment is kind of a joke
Vb.net to c# translator?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Scott LysleRank #49 · 31K reputationPosted Apr 4, 2007, 3:07 PM EDT
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.
cdog37 reputationPosted Apr 4, 2007, 5:48 PM EDT
milind khire33 reputationPosted Apr 13, 2007, 3:24 AM EDT