Obelink.ToString()

My random thoughts on software development

Category: C#

Cheat-sheet Visual Studio 2017 keyboard shortcuts

I’m the kind developer who loves shortcuts. I think it makes me more productive.  As a fervent user of ReSharper I learned a lot of new shortcuts by forcing myself to learn at least one shortcut a week. ReSharper provides already for years a nice cheat-sheet with al possible and relevant shortcuts. Now you can get one for the plain vanilla Visual Studio environment too!

Continue reading

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

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

Visual Studio 2017 Launch Event
Join us!

Microsoft will release Visual Studio 2017 on March 7.  They organize a two-day virtual event to show the world the beauty of this latest release.

On March 7, you can watch a live stream with Julia Liuson, Brian Harry, Miguel de Icaza, and Scott Hanselman as they share the newest innovations in Visual Studio, .NET, Xamarin, Azure, and more. After the keynote, Microsoft engineers will lead interactive technical demo sessions to help you get the most out of Visual Studio 2017 and the rest of their tools and platform. On March 8, you can get productive even faster by joining a full day of live interactive trainings. Make sure you will sign up for these trainings.

But the event is not only virtual. You can join a couple of locally hosted events. Speaking about the Netherlands you have the choice of a couple events, geographically spread around the country. I’m not sure this list is comprehensive, but you can choose already from a nice list!

Join us on one of this meetings… I’m looking forward to meet you!

VB.NET to C# – 03
C#-Visual Basic Bilingual Dictionary

In this post I want to point you to a book which will help you to make switching between C# and VB.NET and vice versa more easily. The title of the book is actually quite self describing: ‘C#-Visual Basic Bilingual Dictionary’ and is written by Tim Patrick.

CSharpVisualBasicNetBilingualDictionary

From the back: “Built on Microsoft’s powerful .NET Framework, C# and Visual Basic are complete equals in terms of coding power and application development possibilities. In today’s multi-platform environment, an understanding of both languages is a job requirement. The C#-Visual Basic Bilingual Dictionary unifies the languages by providing clear, functional equivalents for all syntax and grammar differences.

  • Complete coverage of all language keywords. Nearly 900 dictionary-like entries cover every Visual Basic and C# keyword and grammar feature, including VB’s “My” namespace.
  • Examples in both languages. Hundreds of code samples in both C# and Visual Basic make translations between the languages clear and easy to understand.
  • Full support for Roslyn. Each chapter covers the latest language features from Visual Studio 2015 and Microsoft’s “Roslyn” compiler.

Whether you work on a team that uses both languages, or just need to understand a technical article written in that “other” language, the C#-Visual Basic Bilingual Dictionary is an essential resource for developers crafting Microsoft software solutions.”

You can browse trough the content on the Amazon website. I’ve just ordered one 😉

VB.NET to C# – 02
Working with data types

The Common Type System (CTS) ensures that components written in C# or VB.NET can interact with each other. The CTS supports two general categories of types: Value types and Reference types. Value types directly contain data. An instance of a value type is either allocated on the stack or allocated inline in a structure. These types can be natively built-in (native data types), user-defined or enumerations. A reference type, in contrast to a value type, stores a reference to the value’s memory address and is allocated on the heap. A reference type can be a self-describing type, a pointer type or an interface type. As said, the native .NET types are in general fully compatible, but naming and assigning is different between VB.NET and C#.
Continue reading

VB.NET to C# – 01
Structure of your classes

I love Visual Basic.NET, but as a .NET developer I write code in C# too. In this serie of posts I’ll show you the main differences between VB.NET and C#. Today I will discuss the structure of classes.

Continue reading

© 2017 Obelink.ToString()

Theme by Anders NorenUp ↑