Sunday, July 10, 2011

ASP.NET 4.0 Url Routing

Introduction


Using ASP.NET 4.0 routing we can use URLs that do not have to map to specific files in a Web site. As the URL does not have to map to a file, we can use URLs that are descriptive of the user's action and therefore are more easily understood by users.

http://www.dotnetfunda.com/articles/article1450-aspnet-40-routing-.aspx

Saturday, March 5, 2011

Static Keyword in C#

Static Keyword.


  1. A static method can access only static fields.
  2. A static method cannot access non-static fields.
  3. A static method cannot be called using object of a class.
  4. A static method can be called using Class name.
  5. Static fields can be used using Class Name.
http://www.dotnetfunda.com/articles/article1186-static-keyword-in-csharp-.aspx 

Multiple Inheritance in C#

Introduction


In C# Multiple Inheritance can be effected using Interface. We can implement multiple interfaces. But we cannot inherit multiple Base Classes.

http://www.dotnetfunda.com/articles/article1185-multiple-inheritance-in-csharp-.aspx


An Interface in C#

Introduction


Interface contains the method declarations. It can be implemented by more than one class. Multiple interfaces can be implemented by a single class.
http://www.dotnetfunda.com/articles/article1184-an-interface-in-csharp-.aspx