Onlinebuff : Page 2 - Tutorials on C# Articles

There are 49 listed articles in C# Interview Questions

Understand params parameter with an example in C#?

In this article we have explained params parameter with an example in c-sharp code and we have also stated three restrictions in declaring params parameter.c

C# While Loop with an example using break and continue statements inside while loop

In this article step by step we will understand about while loops in c-sharp with an example and when do you use break and continue statements inside while loop using c# code examples.

How to deploy an assembly into GAC(Global Assembly Cache) ?

This article covers complete understanding of global assembly cache,how to deploy an assembly in GAC, what are Strong name assemblies, steps to give strong name to an assembly and finally a sample code example of Global Assembly Cache using C-sharp code.

Understanding concept of Concat,Substring methods of a string class ?

In this article we will try to understand string class methods, that is concat and substring methods in c-sharp using c# code

C# if and nested if conditional statements with an example?

In this article we have explained in detailed about if statement, if-else statement, if-else-if statement, and nested if conditional statements with an examples using c# code in console application

Practical - Count repeated words in a string using Regular Expression ?

In this article we have demonstrated a number of occurrences of a given word in a given string using regular expression or REGEX in just 5 steps using console application program.

What are generic collections in C# using an example?

In our previous article we saw on generics and how we separated the data-type logic from a logical code snippet using generics. Taking forward that same logic, means separating collection logic i.e from data-type, we will see different types of generic co

What are generics in C# using an example?

In this article we will try to understand the concept of generics/ use of generics using a simple example which will demonstrate how to separate the data-type logic from custom code using generics.

Use of string.Format method in C# with an example?

In this example we will try to understand formatting a string (format characters) using string.Format method in c-sharp with a simple example.

What is mixed mode arithmetic expression with an example?

In this article we will understand how to execute mixed mode arithmetic expressions in c-sharp, vb.net, java or in any different languages.

What is an event handler and explain how it is designed ?

In this article we will try to understand how to create or design a custom event handle and delegates using a simple example in c-sharp.

Is C# is Modern, Type Safe, Versionable and Inter operability Language ?

In this article we will discuss some of the features of c-sharp like is C# is Modern, Type Safe, Versionable and inter operability Language using an example.

Discuss Boxing and Unboxing in the context of value types and reference types

In this article we will discuss on boxing and unboxing in c# using value types and reference types.

What is an Indexer? Explain how it is different from property in terms of implementation.

In this article we have covered indexer and also explained how an indexer is different from a property in terms of implementation.

Checked and Unchecked operators using an example

In this article we have covered about checked and unchecked operators in c-sharp using an example.