C# requires the programmer to use names from letters chosen from a through z, A through Z, and numbers are chosen from 0 through 9.Best practise to for […]
Category: CSharp Interview Questions
Algorithms : Given two strings , write a method to decide if one is permutation of other
Algorithms : Given two strings , write a method to decide if one is permutation of other // C# program to check whether two strings […]
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures?
Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures? // C# program to demonstrate// […]
.NET components call COM components.
.NET Components can call COM components The proxy used in calling unmanaged code from managed code is known as a Runtime-Callable Wrapper, or RCW. Ways […]
New Features of VB.NET and C# languages in 2005 version
New Features of VB.NET and C# languages in 2005 version VB.NET C# Visual Basic 2005 has many new and improved language features — such as […]
How to call Constructor from another Constructor with same class in C# ?
Calling Constructor from another Constructor with same class There are two ways to do the above : 1. Use this keyword to acheive this . […]
What is Construction Overloading in C#
Constructor Overloading Constructor oveloading enables to have constructors with different sets of parameters. Example below: public class Employee { public Employee() { // This […]
Is visual studio required to write .NET program ?
Is visual studio required to write .NET program? Answer : No .Net program can be written in notepad and compiled in command prompt
Write a C# code to get list of parent ASP.NET controls from Child ASP.NET controls
C# code to get list of parent ASP.NET controls from Child ASP.NET controls private ArrayList WalkthroughContainers(Control ctl) { ArrayList retContainers = new ArrayList(); Control parent […]
Is multiple generic type parameters is valid and supported in .NET ?
Is multiple generic type parameters is valid and supported in .NET ? Yes, one can have multiple generic type parameters in .NET. All generic type […]
