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 page life cycle?
How we can add the CSS in ASP.Net MVC?
What is Dependency Injection in ASP.Net MVC
what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?
Explain the advantages of dependency injection (di) in asp.net mvc?
What is edm in entity framework?
What is the meaning of unobtrusive javascript?
What is an asynchronous controller in asp.net mvc?
What is a view engine?
Explain the use of Inversion of control (IOC)?
What is NonActionAttribute ?
How route table has been created in ASP.NET ASP.Net MVC?
Explain representational state transfer (rest) in detail?
what is entity data model?
Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?