.NET Interview Questions and Answers Part 4

By // 1 comment:
1.)What is Pinvoke ?                                                                                                                        Pinvoke(Platform invoke) is a service that enables managed code to call unmanaged functions implemented in DLLs  (dynamic-link libraries), such as those in the Win32 API. 2.)Is it true that COM objects no longer need to be registered on the server??      Yes. It is true that...
3

.NET Interview Questions and Answers Part 3

By // No comments:
1.) What is CCW  ?                                                                                                                             This is also called  COM Callable Wrapper.A proxy object generated by the common language runtime(CLR) so that existing COM applications can use managed classes, including .NET Framework classes, transparently. 2.) When do we absolutely have to declare a class as abstract  ?...
3

General .NET Interview Questions and Answers Part 2

By // No comments:
1.) What is .NET Assembly ?                                                                                                         A assembly is the smallest units of  versioning and deployment in the .NET Application. In other way :- A single deployment unit is known as an assembly file. We generally use following assembly file in .NET Application. Web services Windows Services Service components Remoting Application WCF Services 2.) What are the types of Assembly...
3

Multithreading Questions and Answers

By // No comments:
1. ) What is thread ?                                                                                                               A thread is basically a separate sequence of instruction designed to performing a " specific task" in the program. 2. ) What is Multithreading in c# ?                                                    ...
3

Interface and operator overloading Questions and Answers

By // 2 comments:
1.) What is an interface in c#?                                                                                            An interface is a reference type in c#.It is basically a kind of class with some differences,which are given below:- All the members of an interface are implicitly public and abstract. We can not declare the interface members as  static. An interface can not contain constructors, destructors and constant fields. An interface can inherit multiple interfaces.  2.) Can interface contain...
3

File Handling questions and answers

By // No comments:
  1. ) What are file and stream in asp.net?                                                                              A file is typically the principal means by which you can intact with a program .A file can be a data set that you can read,create ,delete,append and modify or a stream of bytes that are generated by the program.  More Details......  2. ) What is Namespace used in file & stream classes?                                ...
3

Exception Handling Questions and Answers

By // No comments:
1. ) What is Exception Handling in c# ?                                                                            In Exception handling,we provide an alternate path,if some error occurs at run time instead of  halting the programs. 2. ) What is Debugging ?                                                                                    ...
3

Delegates and Events Questions and Answers

By // No comments:
1. ) What do you mean by call-back method?                                                                  In object -oriented programming, one object send to message to other objects,The methods are used to callback message are known as callback methods.      C# implements the callback technique in much safer and more object oriented manner,using the help of delegate objects. 2. ) What is the 'type safe' information?                                      ...
3

oops Questions and Answers

By // No comments:
1.) What is object oriented programming (oops) Language?                                        oops is is a methodology to write the program where we specify the code in form of classes and objects .oops supports   three important features which are given below: Encapsulation  Inheritance Polymorphism Note:- Abstraction is also basic oops concepts feature.But mainly three important feature of oops. 2.) What is object based Language?                                                  ...
3

Classes and Objects Questions in C#

By // No comments:
1. ) what is class in C#?                                                                                                         A class is a user-defined data type with a template that serves to define its properties. More Details... 2. ) How to declare a class in C#?                                                              ...
3

Structures and Enumerations Questions in C#

By // No comments:
1. ) What is structure in C#?                                                                                                A structure is an user defined data type which can contain different members as variable , Method ,properties etc. Structures are value type and stored on the stack memory. 2. ) What is the advantage of structure in C#?                                             ...
3

Strings Questions and Answers

By // No comments:
1.) What is String?                                                                                                                  A string is a  combination of sequence of characters.It is one of the built-in types ,provided by .net Framework. 2.) What is Mutable and Immutable string in C#?                                              ...
3

Arrays Questions in C#

By // No comments:
1. ) What is an array?                                                                                                         An array is a kind of variable which can hold multiple variable for same data type. 2. ) What are the steps involve for creation of an array?                                          Declaration of Arrays Creation of Arrays Initialization of Arrays More...
3

Methods Questions in C#

By // 1 comment:
1. )  What are the elements used in a Method Declaration?                                          Name of the Method Type of value the Method returns ( type) Lists of parameters Body of the Method Method Modifier(access-specifie...
3

Decision Making and Looping Questions

By // No comments:
1.) What are the Decision making statements in C#? If statement Switch statement Conditional operator statement 2. ) What is the Syntax of Switch statement? switch(expression) { case 1: ...........statements......... break; case 2: ...........statements......... break; default: ...........statements......... break; ...
3

Operators and Expressions Questions

By // No comments:
1. ) What is an operator in C#? An operator is a symbol that is used to perform certain Mathematical and Logical  manipulations.  operators are used in program to manipulate data and variables. More Details... 2. ) What are  Special operators in C#? is                                         Relational operator as                                        Relational operator typeof                               type operator sizeof      ...
3

Variables and Data Types Questions

By // No comments:
1.) What is a collection of Tokens in C#?                                                                         There are five types of token in c#. Keywords Identifier Operators Literals Punctuators More Details... 2.) What is Literal?                                                                                            ...
3

General C# Questions

By // No comments:
1.) What is a Class? A class is a user-defined data type.It is like a template. 2.) What is the importance of the Main Method in C# Program? Every C# program start executing from the main method .We can not run any C# program without Main Method(),so Main Method is more important for executing any C# program. 3.) What are the types of comment styles in c#                                                              Single Line comment (/*......*/) Multiline comments (// .......) More Details....
3

General .NET Questions and Answers

By // No comments:
1.) What is .NET ?                                                                                                                  .NET is a platform which is used to develop the  different types of Applications..NET Consist on:- .NET Framework Visual Studio .NET IDE 2.) What is .NET  Framework?                                          ...
3
Powered by Blogger.