Which class use to Read/Write data to memory
MemoryStream
It is a nonbuffered stream whose encapsulated data is directly accessible in memory(RAM not files on disk).
To Configure .Net for JIT activation what do you do
Actually JIT activation is required for COM+ components which can be done by setting JustInTimeActivation attribute to true (choice A). For .net applications / components JIT comes in by default.
Which method is used by COM+ to ascertain whether class can be pooled
CanBePooled
How do you import Activex component in to .NET
An application called AXImp.exe shipped with .Net SDK is used.
This application does something similar as Tlbimp.exe does for non graphical COM components.
It creates a wrapper component that contains the type information that the .Net runtime can understand.
Net Remoting doesn’t allow creating stateless & stateful Remote objects
False
Windows services created by C# app run only
Windows NT & Above
What is an indexer in C#
Indexer is a special syntax for overloading [] operator for a class. After defining an indexer, array syntaxes can be used for the class objects.
In the following cases which is not function overloading
Same parameter types but different return values.
Function overloading depends on the
1) parameter types
2) number of parameters
3) order of parameters
How to implement multiple inheritence in C#
Multiple inheritence in C# is achived by using Interfaces.
In C# a technique used to stream the data is known as
Serialization
Can static methods be overridable?
No
No comments:
Post a Comment