Click here to Skip to main content
15,900,468 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I am new to C#.

Can anyone please tell me what exactly a component is ?
Is it a control itself?
I dont know,what is the relation can be taken between Class,Control and Component?


Regards
Chaithanya M
Posted
Updated 19-May-11 19:28pm
v2

1 solution

Class is base for everything in C# (i mean to say Control and components are class only). When it come to controls it can said as "Controls are component which supports events driven programming (Like click etc)" where component can be said as a part of code for example suppose you are developing an application related to a bank and there is part of code which take care of opening of account that very part of code can be called as component.
 
Share this answer
 
v2
Comments
M.CHAITHANYA 20-May-11 1:35am    
Hi,

one more question i have is ,what's the difference between user control and Custom control.is there any difference?
Sergey Alexandrovich Kryukov 20-May-11 1:52am    
Yes, big difference.
What, has MSDN banned you?
--SA
CS2011 20-May-11 1:55am    
Difference between user control and custom control is user controls are derived from class called "UserControl" where custom controls are genrally derrivied from other controls like textbox and labels etc
M.CHAITHANYA 20-May-11 1:59am    
Thanks alot for your answers.

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