Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
satyapriyanayak
Narayanan
Jean Paul
JQuery Developer
Karthikeyan Anbarasan
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Post New Question
Subscribe to Interview Questions
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Interview Questions And Answers
What is mean by Sealed Class?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
The sealed modifier is used to prevent derivation from a class. A compile-time error occurs if a sealed class is specified as the base class of another class. (A sealed class cannot also be an abstract class).
Difference between Covariance vs Contravariance:
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
Convariance : Convert from Wider(Double) to Narrow(Float).
Contravariance: Convert from Narrow(Float) to Wider(Double).
Define the Feature s of C# 2.0,C#3.0 and C#4.0
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
C# 2.0-Generics (.NET Framework support was added, and C# benefited from this); iterator pattern (the yield keyword); anonymous methods (the delegate keyword), nullable types, and the null coalescing operator .
C# 3.0-Anonymous types, extension methods, object initializers,collection initializers, implicitly typed local variables (var keyword),lambda expressions (=>), and the LINQ query expression pattern.
C# 4.0-Optional Parameters and Named Arguments, Dynamic typing (dynamic type), improved COM-Interop, and Contra and Co-Variance.
What is the use of var keyword in C#?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
This is the new feature in C# 3.0. This enable us to declare a variable whose type is implicitly inferred from the expression used to initialize the variable.
eg.
var age = 10;
Because the initialization value (10) of the variable age is integer type of age will be treated as integer type of variable. There are few limitation of the var type of variables.
They are:
They can't be initialized as null.
They need to be declared and initialized in the same statement.
They can't be used as a member of the class.
What are the Types of Error?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
Configuration Errors.
Parse Errors.
Compilation Errors.
Run-Time Errors.
Define Features in HTML5
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
New DocType
The figture Element:
There unfortunately isn't any easy or semantic way to associate the caption, wrapped in a paragraph tag, with the image element itself. HTML5 rectifies this, with the introduction of the
element. When combined with the
element, we can now semantically associate captions with their image counterparts.
No More Types for Scripts and Links:You possibly still add the type attribute to your link and script tags.
Make your Content Editable:The new browsers have a nifty new attribute that can be applied to elements, called contenteditable.
Email Inputs:If we apply a type of "email" to form inputs, we can instruct the browser to only allow strings that conform to a valid email address structure.
Placeholders:Before, we had to utilize a bit of JavaScript to create placeholders for textboxes. Sure, you can initially set the value attribute how you see fit, but, as soon as the user deletes that text and clicks away, the input will be left blank again.
Required Attribute:Forms allow for a new required attribute, which specifies, naturally, whether a particular input is required. Dependent upon your coding preference.
Auto focus Attribute:If a particular input should be "selected," or focused, by default, we can now utilize the auto focus attribute.
Audio Support:
Video Support
Pre load Videos:
Display Controls:
Regular Expressions:the new pattern attribute, we can insert a regular expression directly into our markup.
Mark Element:Think of the
element as a highlighter. A string wrapped within this tag should be relevant to the current actions of the user.
Create Sliders with the Range Input
What is mean by DTD?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
A Document Type Definition (DTD) defines the legal building blocks of an XML document. It defines the document structure with a list of legal elements and attributes.
A DTD can be declared inline inside an XML document, or as an external reference.
what is mean by Elements?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
Elements are the main building blocks of both XML Document.
i.e:
Why should we avoid XML Attributes in XML Document?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
attributes cannot contain multiple values (child elements can)
attributes are not easily expandable (for future changes)
attributes cannot describe structures (child elements can)
attributes are more difficult to manipulate by program code
attribute values are not easy to test against a DTD
what is mean by Entities?
Author:
Narayanan
Posted Date: January 16, 2013 Category:
C#
Points: 40
Some characters have a special meaning in XML, like the less than sign (<) that defines the start of an XML tag.Entities are expanded when a document is parsed by an XML parser.
« Previous
1
2
3
4
5
6
7
8
9
10
….
42
43
Next »
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend