<< < 4 5 6 7 8 9 10 11 12 13 14 > >>   Sort: Date

What is nested Classes
What is nested Classes ? Nested classes are classes within classes. In sample below “ClsNested” class has a “ChildNested” class nested inside it. Public Class ClsNested Public Class ChildNested Public Sub ShowMessage() MessageBox.Show(“Hi this is nested class”) End Sub End Class End Class This is ...
2007-10-23, 5428👍, 0💬

How can get access to cache object
How can get access to cache object ? The Cache object is defined in the System.Web.Caching namespace. You can get a reference to the Cache object by using the Cache property of the HttpContext class in the System.Web namespace or by using the Cache property of the Page object.
2007-10-23, 5424👍, 0💬

What is Operator Overloading in .NET
What is Operator Overloading in .NET? It provides a way to define and use operators such as +, -, and / for user-defined classes or structs. It allows us to define/redefine the way operators work with our classes and structs. This allows programmers to make their custom types look and feel like simp...
2007-10-23, 5416👍, 0💬

What is the difference WCF and Web services?
What is the difference WCF and Web services? Web services can only be invoked by HTTP. While Service or a WCF component can be invoked by any protocol and any transport type. Second web services are not flexible. But Services are flexible. If you make a new version of the service then you need to ju...
2007-11-04, 5415👍, 0💬

What is DTD (Document Type definition)
What is DTD (Document Type definition)? It defines how your XML should structure. For instance in the above XML we want to make it compulsory to provide “qty” and “totalcost”, also that these two elements can only contain numeric. So you can define the DTD document and use that DTD document with in...
2007-10-31, 5410👍, 0💬

Give a small brief explanation of all Elements in activity diagrams
Give a small brief explanation of all Elements in activity diagrams? Action State : It is a type of state that has an internal action and one outgoing event that would complete the internal action. State : It is a condition when following events occur: Object satisfies a condition. performs a action...
2007-10-26, 5406👍, 0💬

How can you cache different version of same page using ASP.NET cache object ?
.NET INTERVIEW QUESTIONS - How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. The syntax is as follows:- &lt;%@ OutputCache Duration="20" Location="Server" VaryByParam="stat...
2009-05-19, 5401👍, 0💬

What is basic use of “DataView”
What is basic use of “DataView” ? “DataView” represents a complete table or can be small section of rows depending on some criteria. It is best used for sorting and finding data with in “datatable”. Dataview has the following method’s Find It takes a array of values and returns the index of the r...
2007-10-24, 5400👍, 0💬

Explain in short all types of diagrams in UML
How many types of diagrams are there in UML ? There are nine types of diagrams in UML : Use case diagram: They describe "WHAT" of a system rather than "HOW" the system does it.They are used to identify the primary elements and processes that form the system. The primary elements are termed as "actor...
2007-10-26, 5396👍, 0💬

What are different ways you can pass data between tiers
What are different ways you can pass data between tiers? There are many ways you can pass data between tiers :- ? Dataset the most preferred one as they maintain data in XML format. ? Datareader ? Custom classes. ? XML
2007-10-24, 5393👍, 0💬

What is GAC
What are situations when you register .NET assembly in GAC ? GAC (Global Assembly Cache) is used where shared .NET assembly reside. GAC is used in the following situations :- If the application has to be shared among several application. If the assembly has some special security requirements like on...
2007-10-22, 5391👍, 0💬

What are benefits and limitations of using Cookies?
.NET INTERVIEW QUESTIONS - What are benefits and limitations of using Cookies? Following are benefits of using cookies for state management :- * No server resources are required as they are stored in client. * They are light weight and simple to use Following are limitation of using cookies :- * Mos...
2009-07-21, 5390👍, 0💬

What is ArrayList
What is ArrayList ? Array is whose size can increase and decrease dynamically. Array list can hold item of different types. As Array list can increase and decrease size dynamically you do not have to use the REDIM keyword. You can access any item in array using the INDEX value of the array position.
2007-10-23, 5390👍, 0💬

How do we connect to SQL SERVER, which namespace do we use
How do we connect to SQL SERVER, which namespace do we use ? Below is the code, after the code I have given the explanation for it. For this sample we will also need a SQL Table setup which I have imported using the DTS wizard. Private Sub LoadData() ‘ note :- with and end with makes your code more ...
2007-10-24, 5380👍, 0💬

How Can We Know state of thread?
How Can We Know state of thread? "ThreadState" property can be used to get detail of a thread. Thread can have one or a combination of status.System.Threading. Threadstate enumeration has all the values to detect a state of thread. Some sample states are Isrunning, IsAlive, suspended etc.
2009-03-06, 5375👍, 0💬

What is a CLR?
What is a CLR? Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL, Java has Java Virtua...
2007-10-22, 5364👍, 0💬

What is Manifest
What is Manifest? Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things (See Figure Manifest View for more details): Version of assembly Security identity Scope of the assembly Resolve references to resources and classes. The assembly manifest ...
2007-10-22, 5360👍, 0💬

What is well formed XML
What is well formed XML? If a XML document is confirming to XML rules (all tags started are closed, there is a root element etc) then it’s a well formed XML.
2007-10-31, 5353👍, 0💬

What is a Interface
What is a Interface ? Interface is a contract that defines the signature of the functionality. So if a class is implementing a interface it says to the outer world, that it provides specific behavior. Example if a class is implementing Idisposable interface that means it has a functionality to relea...
2007-10-23, 5353👍, 0💬

When we use windows API in .NET is it managed or unmanaged code ?
.NET INTERVIEW QUESTIONS - When we use windows API in .NET is it managed or unmanaged code ? Windows API in .NET is unmanaged code.
2010-01-12, 5348👍, 0💬

What is the difference between Factory and Abstract Factory Patterns
What is the difference between Factory and Abstract Factory Patterns? Note: - This is quiet a confusing architect question especially in design pattern section. Interviewer can take you for a nice ride. So get the difference in your heart. First read the definition provided in the first question abo...
2007-10-24, 5348👍, 0💬

What is marshalling and what are different kinds of marshalling
What is marshalling and what are different kinds of marshalling ? Marshaling is used when an object is converted so that it can be sent across the network or across application domains. Unmarshaling creates an object from the marshaled data. There are two ways to do marshalling :- ã Marshal-by-valu...
2007-10-23, 5348👍, 0💬

How did you do resource allocations
How did you do resource allocations?
2007-10-30, 5347👍, 0💬

What is cross cutting in AOP
What is cross cutting in AOP ? When one or many concerns span across module it is called as cross cutting. Example in our audit trail example we will probably need to audit trail for customer as well as supplier. So Audit trail can span across other objects also that is termed as cross cutting. Belo...
2007-10-24, 5339👍, 0💬

<< < 4 5 6 7 8 9 10 11 12 13 14 > >>   Sort: Date