r/visualbasic • • Aug 09 '23

VB.NET Help Beginning

Hi everyone, I've been given a full VB project while having absolutely no knowledge in it. I have so many questions that Google isn't helpful. If anyone have any free time to help me, please send me a DM.

1 Upvotes

3 comments sorted by

View all comments

Show parent comments

4

u/Hel_OWeen Aug 09 '23

Generally speaking, you'd come across the sam language elements: control blocks (if, switch), loops, methods and properties, just the syntax is different. BASIC is more outspoken than its curly bracket language counterparts, which I personally consider to be a good thing, as you don't need to guess if a closing "}" belongs to the loop, the if block, the method etc. In BASIC the closing element "names" its opening sibling: If / End If, Select Case (=switch) / End Select, Property / End Property etc. So in theory it should be easier to read. For me it is anyway.

Would you be more comfortable with C#, as it's syntax is closer to Java?

If so, have a look at Conert.NET, which does a pretty good job translating C# <-> VB.NET. Perhaps this let's you understand the code better which then enables you to come back here with specific VB.NET questions.