C# Articles

Access Specifiers or Access Modifiers in C#

In encapsulation, before creating any types you must always consider scope of the type or visibility of the type. C# provides various number of keywords to decide the scope, those are private(default one), public, internal, protected and protected internal. If you create any type without these keywords, by default it will take as private.

C#: How to convert string to int in C#

In this article i will explain how to convert string to integer in C#. And how many ways we can convert string to integer.

C#: How to replace string in C#

In this article i will explain how to replace a string in C#.

C#: How to Read characters from String

In this article i will explain how to read characters from string.

C#: How to Query for characters in a string using LinQ.

In this article i will explain how to query for characters in a string using LinQ.

Exception Handling

Errors in any language are classified into Compile Time Errors, Runtime Errors and Logical Errors.

The major features added in C# in each release

The major features added in each release are generally considered to be the following: C# 2.0 - Generics (.NET Framework support was added, and C# benefited from this); iterator pattern (the yield keyword); anonymous methods (the delegate keyword), nullable types, and the null coalescing operator (??).