Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career services Resume services Interview Q&A Articles Oracle SQL Server NET Java Soft Skills CV GD Work from home Books store
Interview questions
C#.NET Part 1
C#.NET Part 2
C#.NET Part 3
C#.NET Part 4
C#.NET Part 5
C#.NET tutorial
C#.NET FAQs
VB.NET FAQs
DOT.NET FAQs
 
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
Microsoft solution framework 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 
More links
Model View Controller 
Understanding Anonymous Types 
Working with the DataList Control 
Windows Presentation Foundation (WPF) 
Books on ASP.NET
ASP.NET 3.5 Application Architecture and Design 
LINQ Unleashed for C# 
ASP.NET Data Presentation Controls Essentials 
Microsoft Expression Blend Unleashed 

Csharp/C#.Net interview questions

C#.Net interview questions - part 1

Next>>

Part 1 | Part 2 | Part 3 | Part 4 | part 5

What is the difference between Finalize() and Dispose()?

Latest answer: Dispose() is called by as an indication for an object to release any unmanaged resources it has held...........
Read answer

How does the XmlSerializer work? What ACL permissions does a process using it require?

Latest answer: The XmlSerializer constructor generates a pair of classes derived from XmlSerializationReader and XmlSerializationWriter by analysis of the classes using reflection........
Read answer

What are circular references? Explain how garbage collection deals with circular references.

Latest answer: A circular reference is a run-around wherein the 2 or more resources are interdependent on each other rendering the entire chain of references to be unusable........
Read answer

Explain how to add controls dynamically to the form using C#.NET.

Latest answer: The following code can be called on some event like page load or onload of some image or even a user action like onclick.......
Read answer

What are Extender provider components? Explain how to use an extender provider in the project.

Latest answer: An extender provider is a component that provides properties to other components..........
Read answer

Describe the configuration files in .Net. What are different types of configuration files in .Net framework?

Latest answer: The Machine.Config file, which specifies the settings that are global to a particular machine.......
Read answer

Describe the accessibility modifier "protected internal".

Latest answer: The Protected Internal access modifier can be accessed by:.....
Read answer

What is the difference between Debug.Write and Trace.Write? When should each be used?

Latest answer: Debug.Write: Debug Mode, Release Mode (used while debuging a project).......
Read answer

Explain the use of virtual, sealed, override, and abstract.

Latest answer: The virtual keyword enables a class to be overridden. If it has to be prevented from being overridden, then the sealed keyword needs to be used.........
Read answer

What benefit do you get from using a Primary Interop Assembly (PIA)?

Latest answer: A primary interop assembly contains type definitions (as metadata) of types implemented with COM. Only a single PIA can exist, which needs to be signed with a strong name by the publisher of the COM type library............
Read answer

Explain the use of static members with example using C#.NET.

Latest answer: Static members are not associated with a particular instance of any class.
They need to be qualified with the class name to be called.............
Read answer

How to achieve polymorphism in C#?

Latest answer: Polymorphism is when a class can be used as more than one type through inheritance. It can be used as its own type, any base types, or any interface type if it implements interfaces........
Read answer

What are implementation inheritance and interface inheritance?

Latest answer: Implementation inheritance is achieved when a class is derived from another class in such a way that it inherits all its members...........
Read answer

How to add a ReadOnly property in C#.NET?

Latest answer: Properties can be made read-only by having only a get accessor in the implementation........
Read answer

How to prevent a class from being inherited in C#.NET?

Latest answer: The sealed modifier is used to prevent derivation from a class. An error occurs if a sealed class is specified as the base class of another class.............
Read answer

What are generics in C#.NET?

Latest answer: Generic collection classes in the System.Collections.Generic namespace should be used instead of classes such as ArrayList in the System.Collections namespace............
Read answer

What is the use of GetCommandLineArgs() method in C#.NET?

Latest answer: With GetCommandLineArgs() method, the command line arguments can be accessed.
The value returned is an array of strings.............
Read answer

What is the use of System.Environment class in C#.NET?

Latest answer: The System.Environment class can be used to retrieve information like:.......
Read answer

What is the difference between const and readonly in C#.NET?

Latest answer: The read only can be modified by the class it is contained in. However, the const cannot be modified. It needs to be instantiated only at the compile time......... 
Read answer

Advantages of CLR procedure over T-SQL procedure

Latest answer: The use of the CLR procedure makes it possible to do the complex database operations without having an in-depth knowledge of T-SQL..........
Read answer

How does C#.NET Generics and C++ Templates compare?

Latest answer: C# generics and templates in C++ are more or less similar syntactically..........
Read answer

What is an object pool in .NET?

Latest answer: It is a list of ready to use objects. Whenever a new request comes in for creating an object, then the application is served from this pool. This reduces the overhead of creating an object over and over again.............
Read answer

Why is an object pool required?

Latest answer: The request for the creation of an object is served by allocating an object from the pool. This reduces the overhead of creating and re-creating objects each time an object creation is required.............
Read answer

How does object pooling and connection pooling differ?

Latest answer: In Object pooling, you can control the number of connections. In connection pooling, you can control the maximum number reached........
Read answer

Explain how to Implement an Object Pool in C#.NET.

Latest answer: using System;
using System.Collections;..........
Read answer

Describe the three major components that make up a Web Service.

Latest answer: SOAP (Simple Object Access Protocol)
UDDI (Universal Description, Discovery and Integration)
WSDL (Web Services Description Language)...........
Read answer

Explain with code sample how to Implement a Web Service in .NET.

Latest answer: C# generics are a simpler approach to parameterized types without the complexity of C++ templates In addition, C# does not attempt to provide all of the functionality that C++ templates provide...........
Read answer

What is ILDASM and Obfuscator in NET?

Latest answer: ILDASM (Intermediate Language Disassembler)
De-Compilation is the process of getting the source code from the assembly...........
Read answer

Explain how Obfuscator works in NET

Latest answer: Obfuscator simply renames all types and namespace etc to meaningless code making it non human readable. This diminishes the possibility of reverse engineering...........
Read answer

What is an Exception in .NET?

Latest answer: Exceptions are errors that occur during the runtime of a program.
The advantage of using exceptions is that the program doesn’t terminate due to the occurrence of the exception...........
Read answer

Explain how to Handle Exceptions in .NET 2.0.

Latest answer: Exceptions should never be handled by catching the general System.Exception errors, rather specific exceptions should be caught and handled....:......
Read answer

What are Custom Exceptions? Why do we need them?

Latest answer: Custom exception needs to derive from the System.Exception class. You can either derive directly from it or use an intermediate exception like SystemException or ApplicationException as base class...........
Read answer

What are delegates and why are they required?

Latest answer: Delegates are like type safe function pointers. We need delegates as they can be used to write much more generic functions which are type safe also............
Read answer

Explain how to implement Delegates in C#.NET.

Latest answer: Here is an implementation of a very simple delegate that accepts no parameters............
Read answer

CLR Triggers

Latest answer: A CLR trigger could be a Date Definition or Date Manipulation Language trigger or could be an AFTER or INSTEAD OF trigger.............
Read answer

Steps for creating CLR Trigger

Latest answer: Follow these steps to create a CLR trigger of DML (after) type to perform an insert action:.............
Read answer.

What is an assembly in .NET?

Latest answer: An assembly is the primary unit of a .NET application. It includes an assembly manifest................
Read answer

What is a Constructor? What is a Destructor?

Latest answer: It is the first method that are called on instantiation of a type. It provides way to set default values for data before the object is available for use................
Read answer

Define abstract class in C#.NET.

Latest answer: Abstract class cannot be instantiated. Same concept in C++ known as pure virtual method............
Read answer

What is serialization in .NET?

Latest answer: Serialization is a process of converting an object into a stream of bytes. .Net has 2 serializers namely XMLSerializer and SOAP/BINARY Serializer............
Read answer

C#.Net support multiple inheritance, comment

Latest answer: No, but we can use interface instead................
Read answer

Can private virtual methods be overridden in C#.NET?

Latest answer: No, moreover, you cannot access private methods in inherited classes........
Read answer

Is is possible to force garbage collector to run?

Latest answer: Yes, we can force garbage collector to run using System.GC.Collect()..........
Read answer

What is the role of data provider in ADO.NET?

Latest answer: The .NET data provider layer resides between the application and the database. Its task is to take care of all their interactions.............
Read answer

Describe how a .Net application is compiled and executed.

Latest answer: From the source code, the compiler generates Microsoft Intermediate Language (MSIL) which is further used for the creation of an EXE or DLL. The CLR processes these at runtime. Thus, compiling is the process of generating this MSIL...........
Read answer

What is an Event? Define Delegate.

Latest answer: When an action is performed, this action is noticed by the computer application based on which the output is displayed...........
Read answer

 

Next>>

Part 1 | Part 2 | Part 3 | Part 4 | part 5

More interview questions on C#.NET

.Net Framework

  • What is .Net Framework? Explain its role in .Net.
  • Describe the .Net framework architecture. Explain the components of .Net framework.
    I.e. Common Language Runtime
    Common type system
    Type safety
    Manage code execution
    Side-by-side execution

Common Language Runtime

  • What is common language runtime? Explain the component of CLR, i.e. Class loader, MSIL, Code manager, Garbage collector, Security engine, Type checker, Thread support, Exception manager, Debug engine, COM marshaler, Base class library.
  • Explain how a .Net application is compiled and executed.

Managed Execution Process

  • What is managed execution process?
  • Describe how the .Net framework performs automatic memory management.
  • What is finalization?

Assembly

  • What are assemblies? Explain the role that they play in the .Net framework.
  • Explain the types of assemblies, i.e. a single-file assembly, a multiple-file assembly
  • Explain the contents of assembly manifest, i.e. assembly name, version number, culture, strong name
  • Describe the global assembly cache.

.Net base class library

  • What is .Net base class library?
  • Explain the difference between value types and reference types.

Configuration and security

  • Describe the configuration files in .Net. What are different types of configuration files in .Net framework? – Machine configuration, Machine .config file, Application configuration file, security configuration file.

Classes and structures

  • What are classes and structures? Explain how to create a new class and structure using C#.Net.
  • Explain the difference between a class and a structure.

Methods

  • Using C#.Net, create a new method using input and output parameters.
  • Explain a constructor and a destructor. Create them using C#.NET

Access Level

  • Explain the difference between public, internal and private access levels.
  • Explain the use of static members with example using C#.NET

Garbage collection

  • What is garbage collection? Explain how it manages the reclamation of unused memory.
  • What are circular references? Explain how garbage collection deals with circular references.

Forms

  • Explain the form methods that are used to control their lifetime.
    Form.Show, Form.ShowDialog, Form.Activate, Form.Hide, Form.Close.
  • What are method’s events? Explain each of them, i.e. load, activate/deactivate,closing,closed.

Controls and components

  • Explain how to set the control tab order in C#.Net.
  • What is docking and anchoring. Explain their use with controls.
  • Explain how to add controls dynamically to the form using C#.NET.
  • What are Extender provider components? Explain how to use an extender provider in the project.
  • Explain how to add a control to a form at runtime.

Menus

  • What are MainMenu components? Explain its role.
  • What is ContentMenu component?
  • Write code using C#.NET for the following
    Enable or disable a menu item.
    Create shortcut keys for menu item.
    Make menu items invisible.
    Add items to a menu.
    Clone a menu

 


 
More content
Java FAQ | Personal Interview
Earn promotion|Happy employee
Write a good CV | Cover Letter
Become boss's favorite | CV tips
Training and Development
Public relations
PM | CareerRide is hiring
Frequently Asked Questions
CV Writing
Testing
XML
.NET
AJAX
ASP.NET
VB.NET
C#.NET
NET Framework
OOPS in .NET
C++
Data warehousing
Sql Server
Core Java
JDBC
JMS
JSP
RMI
J2ME
EJB
MySQL
Linux
PHP
UML
ADO.NET
Net Architecture
Personal interview
Marketing
Mass communication
Java FAQs
Oracle FAQs
C#.NET FAQs
VB.NET FAQs
DOT.NET
Networking FAQs
MySQL FAQs
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.