May 13, 2013 at 5:02 AM
—
Rajeev
A static class is a class with static member variables and methods.A singleton is a design pattern which makes available only a single created instance of that class.Since it allows a single instance of the class,it is possible to pass this instance object as parameter to methods.
[More]
May 7, 2013 at 5:19 AM
—
Rajeev
Is there any difference in creating new instance in constructor or create new instance as member declaration. initialize variable within constructor or outside constructor,which is best? Is there any performance or memory difference? These are some basic doubts many developers have.
[More]
May 7, 2013 at 4:59 AM
—
Rajeev
Typed Datasets(Strongly Typed Datasets) are specialized Dataset class.Typed datasets are strongly typed and hence gives compile time error when assigned data column with wrong type value.You can create Typed Dataset in 2 different manners.Using Visual Studion typed dataset designer ad using XSD.exe.
[More]
May 3, 2013 at 8:39 AM
—
Rajeev
Xml serialization in .NET can be done in various ways.but the easiest one which I believe is using xsd.exe to create the corresponding model dataset class from the xml file.Step by step procedure explained.
[More]
May 3, 2013 at 7:39 AM
—
Rajeev
When you add a new xml element to this xml docment, you will notice a namespace attribute appearing in the added xml element with an empty string value(xmlns = "").This will cause unwanted results while parsing/querying the xml document.How to get rid of this unwanted namespace,xmlns.Read this article..
[More]
April 25, 2013 at 5:22 AM
—
Rajeev
Initialize List
with strings In C# - Collection Initializer,C# How to create comma separated string from a List [More]
April 21, 2013 at 6:54 AM
—
Rajeev
User control and custom control are direct or indirect derivations of Control class.Control in turn is derived from component.Controls are much more rich than components feature wise. Components don't have GUI like user controls or custom controls.Components are more of APIs.Examples of .NET components are Times,File Browser,Data Source etc. A component can't contain controls inside it.
[More]
April 21, 2013 at 4:47 AM
—
Rajeev
Custom controls are specialized controls in .NET derived from Control class.This article explains step by step process of creating a custom control in C# Winform application.
[More]
April 21, 2013 at 3:52 AM
—
Rajeev
Custom controls are of three types derived custom control,derived custom control and full custom control..In .NET framework,all control(like TextBox,Button,Panel etc.) classes are defined in such a way that user can derive specialized control from them.Custom control must be either derived from the specific control which you need to extend for your specific custom need or from the base control class directly.You can add additional properties,methods,events and also override the existing base class members.
[More]
April 8, 2013 at 2:40 AM
—
Rajeev
You will get search engine penalties if your site directs to different locations when requested with URL without www or requested with www in ASPNET.This will even cause adsense program rejection also since they find duplicate contents in your site.This article explains how can you get rid of this issue in blogengine.net.
[More]