Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Difference between normal class and abstract class

and

what use of MVC in Asp.Net......

i am a fresher plese tell me friends
Posted
Comments
BillWoodruff 21-Oct-15 0:20am    
Get started by reading the MS documentation and search CodeProject for articles.
Karthik_Mahalingam 24-May-16 10:24am    
removed.

A class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. A class is like a blueprint. It defines the data and behavior of a type. If the class is not declared as static, client code can use it by creating objects or instances which are assigned to a variable. The variable remains in memory until all references to it go out of scope. At that time, the CLR marks it as eligible for garbage collection. If the class is declared as static, then only one copy exists in memory and client code can only access it through the class itself, not an instance variable.

Abstract classes, marked by the keyword abstract in the class definition, are typically used to define a base class in the hierarchy. What's special about them, is that you can't create an instance of them - if you try, you will get a compile error. Instead, you have to subclass them, and create an instance of your subclass. So when do you need an abstract class? It really depends on what you do.

Classes (C#)[^]
https://msdn.microsoft.com/en-IN/library/ms173150.aspx[^]
All about abstract classes.[^]
http://www.dofactory.com/topic/1311/why-do-we-need-to-use-abstract-class.aspx[^]
http://www.techotopia.com/index.php/Understanding_C_Sharp_Abstract_Classes[^]
http://www.dotnetperls.com/abstract[^]

And use of MVC in Asp.Net, doesn't make a sense at all.
You need to understand the difference between ASP .NET & ASP .NET MVC.
Refer this: Webforms vs MVC and Why MVC is better ?[^]


-KR
 
Share this answer
 
v2
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900