Obelink.ToString()

My random thoughts on software development

Month: March 2017

VB.NET to C# – 04
Making decisions

Making decisions is one of the most executed tasks when writing business logic. In Visual Basic .NET you use in most cases an If .. Then .. Else statement or a Select Case statement. In C# there is no big difference, beside the fact that the naming of the keywords is a bit deviant. Let’s start with a simple If .. Then ... Else statement.

Continue reading

Visual Studio 2017
Use ValueTuples in Visual Basic .NET

Tuples are primitive types where you can easily combine multiple values to one variable. They are as a datatype not completely new for C# 7.0 or Visual Basic 15, but the way you can use them is, with the new System.ValueTuple type, much improved. In this post I will show you how you can take advantage of the streamed syntax of value tuples. The old System.Tuple became not very populair, mainly because the results where not strongly named; you have to use them like result.Item1, result.Item2 etc.

Continue reading

SDN Cast 42
Future of Visual Basic .NET

Last night I was the ‘special guest’ on the 42th SDN Cast. I talked with fellow MVP’s Maarten van Stam en Fanie Reynders about the latest news in ‘Dev’ world, but the main topic was the future of Visual Basic .NET.

Continue reading

© 2017 Obelink.ToString()

Theme by Anders NorenUp ↑