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


Please Help Members By Posting Answers For Below Questions

how do you query in entity model when the result has a join from from different database other than the entity model?

558


Explain ASP.NET MVC Identity and Security?

574


What is the 'page life cycle' of an ASP.NET MVC?

610


What is orm entity framework?

524


Is dapper faster than entity framework?

532






Briefly describe the roles of clr in .net framework?

547


What are the advantages of asp.net mvc?

563


Explain tempdata in mvc?

568


What is Separation of Concerns in ASP.NET ASP.Net MVC?

605


How large is the .net framework 3.0? Does this change make the release larger?

554


What are action filters?

604


Is razor a server side?

529


How do you handle variable number of segments in a route definition?

539


How does the .net framework 3.0 relate to the .net framework 2.0?

561


What is html.renderpartial?

569