How can we identify Partial Class in C#?

 Posted by vishalneeraj-24503 on 11/2/2014 | Category: OOPS Interview questions | Views: 2497 | Points: 40
Answer:

When we create any application in Dot Net and add any new web form then 2 files are generated which is named as aspx.cs/aspx.vb and aspx.designer.cs/vb.These two files have the same class with the partial keyword .The .aspx.cs/vb class is used for writing business logic code where aspx.designer.cs/vb file is used for having asp.net controls.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response