X

C# constructor overloading

In C# if one wishes to use C# constructor overloading they can use the "this" keyword right after to initialize…

C# readonly what is that for?

C# readonly what is that for? The readonly keyword in C# is used as a modifier. A field can be…

What is the @ symbol in front of variables in C#?

From the C# documentation it states that the @ symbol is an Identifier. 2.4.2 Identifiers The prefix "@" enables the…

Detect UTF-8 or UTF-16 BOM in a Stream using C#

Was detecting a file stream if it was Unicode encoded or not, so though I would share the code. Let…

C# Func vs. Action

C# Func vs. Action? What is the difference between a Func vs an Action in C#? The main difference is…

Packt Publishing Instant Automapper

During the summer I have been busy working on my book "Instant AutoMapper", and it did get released at the…

100% disk usage after Win 8.1 upgrade

Over the weekend I upgrade to win 8.1 and after upgrade I found my disk usage at 100% and it…

C# var keyword misconceptions

Lots of developers confuse the var keyword in C# with JavaScript. The var keyword was introduced in C# 3.0, and…

Stop yelling at the lettuce for not growing – Software Teams

I remember watching a talk on infoq by Michael Feathers. He said something about growing your software teams organically like…

C# Perf improvement data types or using Linq is faster?

Recently I was asked a simple code to improve the performance, and at first I couldn't see it but as…