switch RSS

Follow The Programmer Blog RSS feed to stay up to date with the latest programming tutorials regarding anything switch. If you're looking to upgrade your software developer shirt collection we offer some pretty cool programmer shirts. For more of the latest developer news and programming tutorials visit The Programmer Blog. View all programming tutorials tagged with switch below:

c#, switch, type

C# - Switch on Type

Prior to C# 7 switching on data types was fairly tricky. Luckily with the latest update we can do a C# switch on type very easily. Let's have a look below at why type switching is useful. We will also go over some code examples for both legacy C# and C# 7+. Why switch on types? Switching on an objects type is...

Read more