Saturday, 30 April 2011
Mukesh Trivedi: Inheritance Model in C#
Mukesh Trivedi: Inheritance Model in C#: " Inheritance Model in C# Before Understanding the inheritance we should know ,why inherita..."
Friday, 29 April 2011
Inheritance Model in C#
Inheritance Model in C#
Before Understanding the inheritance we should know ,why inheritance we need,
without inheritance ,
now look the concept, i am using using two classes Name A ,B And taking function and i want to acess this function using Class B objects ,Then
class A
{
fun1()
{
console.writeline("hai");
}
}
class B
{
A a=new A();
}
public void main()
{
B b=new B();
b.a.fun1();
}
ans-hai
here , we see In class B we create the object of class A , and then in main finction we create object of class B and using B's object we call class A's function so we get our goal , but here we see , we have to create inner object of Class A in Class B, in this way we need to create always inner object to call base class members and functions so,its a tired work,
Inheritance- inheritance is the mechanism in which sub class inherits the properties of base class.
so we can say in ,other words ,inheritance maintain the containership and encapsulation and maintains abstraction ,in which child the get the properties of base class automatically .
.. this is the main diffrence in without inheritance and inheritance .
polymorphism- continue...
Before Understanding the inheritance we should know ,why inheritance we need,
without inheritance ,
now look the concept, i am using using two classes Name A ,B And taking function and i want to acess this function using Class B objects ,Then
class A
{
fun1()
{
console.writeline("hai");
}
}
class B
{
A a=new A();
}
public void main()
{
B b=new B();
b.a.fun1();
}
ans-hai
here , we see In class B we create the object of class A , and then in main finction we create object of class B and using B's object we call class A's function so we get our goal , but here we see , we have to create inner object of Class A in Class B, in this way we need to create always inner object to call base class members and functions so,its a tired work,
Inheritance- inheritance is the mechanism in which sub class inherits the properties of base class.
so we can say in ,other words ,inheritance maintain the containership and encapsulation and maintains abstraction ,in which child the get the properties of base class automatically .
.. this is the main diffrence in without inheritance and inheritance .
polymorphism- continue...
Friday, 22 April 2011
1. Ajax In Asp.net
Ajax- Asynchronous JavaScript
Friends, first Of all We should Know ,Why We Use Ajax ,What is the need of It In Asp.net. Application
,So Friends ,I will Tell You , Most Of The time We have Requirement of Some controls On the Page not To be
Updated ,but Some controls Should Update ,So Microsoft Give Us this Functionality To Use Ajax And Follow
1.The Concept Of "Partial Page Updation " ,So Use Of This Would Be Only Specific Controls Would Be Updated Not All Controls , In This Way ,We Save Time To Execute The That Specific Control ,Rather Than The Whole Page.
2. An HttpHandler That Enables ASp.net Web services To communicate With Client Side code To By Using
JavaScript object NotaTion (Json) serialization In Partial Page Updation
To Implement This ,we Should Know What is the main things Needed To Know the Concept Of Ajax
The core Funtionality of Asp.net Ajax Is Divided in To Two Parts
1.Ajax Extensions
2.Ajax Library
Means to say Ajax Funtionality Is Contained In to Two Assembly, That Are Installed In The GAC(GLobal Assembly Cache).
the two assemblies are
1.System.web.Extentions.dll- this Assembly contains the ajax funtionality , including the ajax Extensions and Javascript Files
2.System.web.Extentions.design.dll- This Assembly Contains Asp.net Designer component for the ajax extensions Server control--continue..
here the terms i use Ajax Extensions means ,its component are following
1. Script Manager
2.Update panel
3.Update progress
4.Timer
5. Asynchronouspostbacktrigger
ScriptManager-continue....
Friends, first Of all We should Know ,Why We Use Ajax ,What is the need of It In Asp.net. Application
,So Friends ,I will Tell You , Most Of The time We have Requirement of Some controls On the Page not To be
Updated ,but Some controls Should Update ,So Microsoft Give Us this Functionality To Use Ajax And Follow
1.The Concept Of "Partial Page Updation " ,So Use Of This Would Be Only Specific Controls Would Be Updated Not All Controls , In This Way ,We Save Time To Execute The That Specific Control ,Rather Than The Whole Page.
2. An HttpHandler That Enables ASp.net Web services To communicate With Client Side code To By Using
JavaScript object NotaTion (Json) serialization In Partial Page Updation
To Implement This ,we Should Know What is the main things Needed To Know the Concept Of Ajax
The core Funtionality of Asp.net Ajax Is Divided in To Two Parts
1.Ajax Extensions
2.Ajax Library
Means to say Ajax Funtionality Is Contained In to Two Assembly, That Are Installed In The GAC(GLobal Assembly Cache).
the two assemblies are
1.System.web.Extentions.dll- this Assembly contains the ajax funtionality , including the ajax Extensions and Javascript Files
2.System.web.Extentions.design.dll- This Assembly Contains Asp.net Designer component for the ajax extensions Server control--continue..
here the terms i use Ajax Extensions means ,its component are following
1. Script Manager
2.Update panel
3.Update progress
4.Timer
5. Asynchronouspostbacktrigger
ScriptManager-continue....
Subscribe to:
Comments (Atom)