Can we have more than 1 partial classes in the same file?
Answer Posted / ssv_sathish
YES, basically, partial classes are meant for sharing or
working on different files. so you can have 2 partial
classes in the same file or different class declared as
partial in the same file, provided PUBLIC is the access
modifier.
| Is This Answer Correct ? | 35 Yes | 4 No |
Post New Answer View All Answers
What is the difference between entity framework and mvc?
How do I use partial view?
Can a view be shared across multiple controllers? If yes, how we can do that?
Describe the gac in the .net framework.
Explain the advantage of packaging over xcopy in .net?
What is the difference between viewbag and viewdata in asp.net mvc?
What is Peek method in Tempdata in ASP.Net MVC?
What is disconnected scenario? : Entity framework
Is http stateful or stateless?
what is use of entity container?
How we can register the Area in ASP.Net MVC?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
Explain the use of Inversion of control (IOC)?
I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.
What are Scaffold templates in ASP.Net MVC?