.NET Framework Interview Questions and Answers (547) - Page 7

What is RCW?

RCW Means Runtime Callable Wrappers, The common language runtime(CLR) exposes COM objects through a proxy called the runtime callable wrapper (RCW). Although the RCW appears to be an ordinary object to .NET clients, its primary function is to marshal calls between a .NET client and a COM object.
What is CCW?

CCW Means 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.
What is Pinvoke?

Platform invoke is a service that enables managed code to call unmanaged functions implemented in dynamic-link libraries (DLLs), such as those in the Win32 API. It locates and invokes an exported function and marshals its arguments (integers, strings, arrays, structures, and so on) across the interoperation boundary as needed.
What is side-by-side Execution?

Side-by-side execution is the ability to run multiple versions of an application or component on the same computer. You can have multiple versions of the common language runtime, and multiple versions of applications and components that use a version of the runtime, on the same computer at the same time.
How you will Hide Column(s) in the Windows Forms DataGridView Control?

Set the DataGridViewColumn.Visible property to false.

vb.net:
-------
dataGridView1.Columns("CustomerID").Visible = False

c#.net:
------
dataGridView1.Columns["CustomerID"].Visible = False;
What is the CAS ? .How to implement CAS ?

Code Access Security: It is .net security model that determines whether or not code is allowed to run .
What is an application domain?

Application domain is the boundary within which an application runs. A process can contain multiple application domains.
Application domains provide an isolated environment to applications that is similar to the isolation provided by processes.
An application running inside one application domain cannot directly access the code running inside another application domain.
To access the code running in another application domain, an application needs to use a proxy.
An application domain is a virtual process that serves to isolate an application. All objects created within the same application scope are created within the same application domain. Multiple application domains can exist in a single operating system process, making them a lightweight means of application isolation.
In which Event all the Controls will be loaded(in asp.net)?

NOTE: This is objective type question, Please click question title for correct answer.
Machine.config will be created automatically when you

NOTE: This is objective type question, Please click question title for correct answer.
In a connection-oriented socket, Which Protocal is used to establish a session (connection) between two IP address endpoints.

NOTE: This is objective type question, Please click question title for correct answer.
Which Account type choose to minimize security risks?

NOTE: This is objective type question, Please click question title for correct answer.
In Which method to stops running thread ?

NOTE: This is objective type question, Please click question title for correct answer.
which of the following encoding type the largest file size?

NOTE: This is objective type question, Please click question title for correct answer.
Where does global.asax Live?

NOTE: This is objective type question, Please click question title for correct answer.
Which property of textbox cannot be change at run time?

NOTE: This is objective type question, Please click question title for correct answer.
________ is new type introduced in C#4.0?

NOTE: This is objective type question, Please click question title for correct answer.
How can we access COM object in C#4.0?

NOTE: This is objective type question, Please click question title for correct answer.
________is one of the new feature added in C# 4.0 ?

NOTE: This is objective type question, Please click question title for correct answer.
Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Interview Questions and Answers Categories