Category Archives: C# 6.0

Easily format strings – String interpolation in C# 6.0

By | November 26, 2014

Formatting the string values are very common during development. We generally use String.Format() method, that replaces each format item in a specified string with the text equivalent values from the objects. While this is a common, sometimes this is confusing and produce error. Because, we need to specific the place holder for each item and then map them… Read More »

Simplify Static Member Access – Using Statement With Static Classes in C# 6.0

By | November 25, 2014

C# 6.0 introduced many small and useful features that helps developers to write clean code. On of such feature is “Using Statement with Static Classes”. We know a static class cannot be instantiated. While using any static member, we find ourselves repeating the class name to access any of the static members. It looks kind of redundant which… Read More »