Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
Posted By :
Posted Date :
January 16, 2013
Generics means parametrized types. A class, structure, interface, delegates that operates on a parametrized type is called generics.
You can also find related Interview Question to
Define namespace in C++ ?
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.
Define precondition and post-condition to a member function.
A precondition is a condition that must be true on entry to a member function. A class is used correctly if preconditions are never false. An operation is not responsible for doing anything sensible if its precondition fails to hold.
For example, the interface invariants of stack class say nothing about pushing yet another element on a stack that is already full. We say that isful() is a precondition of the push operation.
A post-condition is a condition that must be true on exit from a member function if the precondition was valid on entry to that function. A class is implemented correctly if post-conditions are never false.
For example, after pushing an element on the stack, we know that isempty() must necessarily hold. This is a post-condition of the push operation.
Define the "integrity rules"
There are two Integrity rules.
1.Entity Integrity: States that "Primary key cannot have NULL value"
2.Referential Integrity: States that "Foreign Key can be either a NULL value or should be Primary Key value of other relation.
How to find data with generics list in VB.NET (Write code).
In the code example below, the function "FindData" will return list("sublist") of the objects having matchingKey same as viewstate value.
Dim sublist As List(Of MyClass)
sublist = allClient.FindAll(AddressOf FindData) 'sublist will contain objects matching specified matching condition
Function FindData(ByVal b As MyClass) _
If (b.matchingKey = CInt(ViewState("matchingKey "))) Then 'matching condition
Name the method in VB.NET used to define a controls color?
How to define a button USING XAML?
To define a button in WPD using XAML use the following syntax,
element specifies the use of the Button class.
To define abstract class in VB which keyword is used?
MustInherit keyword is used to create an abstract class in VB.
To define abstract method which keyword is used in VB?
MustOverride keyword is used to define an abstract method in VB.
In Analysis service what is the technology used define the expressions?
Multidimensional Expressions also abbrevated as MDX
We see and read PROXY can you define what is it ?
Definition: proxy: In communications, a proxy is something that acts as a server, but when given requests from clients, acts itself as a client to the real servers. Analogy: Consider talking to somebody who speaks a foreign language through a translator. You talk to the translator, who receives your statements, then regenerates something else completely to the other end. The translator serves as your proxy. Key point: The communication terminates at the proxy. In other words, the proxy doesn't forward data so much as it tears it completely apart. For example, an HTTP proxy doesn't forward every request sent through it. Instead, it first examines if it already has the requested web page in its cache. If so, then it returns that page without sending another request to the destination server. Because proxies completely terminate the communication channel, they are considered a more secure firewall technology than packet filters, because they dramatically increase the isolation between the networks. Key point: You will occasionally be scanned for proxies. ISPs scan their users for proxies. Hackers scan the Internet looking for proxies they can anonymize their connections with. Certain servers (like IRC servers) scan clients for proxies in order to prevent anonymous connections. Several websites maintain lists of such proxies. e.g. http:/ /proxys4all.cgi.net/ From Hacking-Lexicon
Which of the following requirements define the constraints on the system and the conditions under which the system must be developed?
1, Non-functional requirements
2, Functional requirements
3, Data requirements m
4, User requirements
Answer : 1
To make a variable constant , you need to define the variable with the _________ keyword ?
Answer : 4
What is a SharePoint Feature? What files are used to define a feature?
A SharePoint Feature is a functional component that can be activated and deactivate at various scopes throughout a SharePoint instances, scope of which are defined as
1. Farm level 2. Web Application level 3. Site level 4. Web level
Features have their own receiver architecture, which allow you to trap events such as when a feature is
Installing, Uninstalling, Activated, or Deactivated.
The element types that can be defined by a feature include
menu commands, link commands, page templates, page instances, list definitions, list instances,
event handlers, and workflows.
The two files that are used to define a feature are the feature.xml and manifest file(elements.xml). The feature XML file defines the actual feature and will make SharePoint aware of the installed feature. The manifest file contains details about the feature such as functionality.
What does the parameter Initial Catalog define inside Connection String?
The database name to connect to.
Quick Links For Interview Questions Categories:
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend