Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
About Us
986
Questions
785
Answers
Interview Preparation mode
beta
Funny Facebook Status
Enter your email address
All categories
SQL Server Interview Questions and Answers
(197)
SSIS Interview Questions and Answers
(54)
SSRS Interview Questions and Answers
(9)
SSAS Interview Questions and Answers
(29)
.NET Interview Questions and Answers
(186)
Oracle Interview Questions and Answers
(122)
Java Interview Questions and Answers
(32)
UNIX Interview Questions and Answers
(47)
Networking Interview Questions and Answers
(17)
MySQL Interview Questions and Answers
(30)
HR Interview Questions and Answers
(237)
General Interview Questions and Answers
(9)
Other Interview Questions and Answers
(8)
Job Openings
(3)
Greenplum Database Interview Questions and Answers
(5)
What is partial classess in .net?
Nice?
Vote!
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
asp-net
net-interview-question
1 Answer
Nice?
Vote!
When there is a need to keep the business logic separate from the User Interface or when there is some class which is big enough to have multiple number of developers implement the methods in it, the class can be separated and written in different files as partial class.
The keyword partial must appear in each class.
//syntax for C#
Public partial class MyPartialClass1
{
//code
}
// this code could be in file1
Public partial class MyPartialClass1
{
//code
}
// this code could be in file2
answered
1 year
ago
by
KrishnaMachiraju
(
7,980
points)
Related questions
Nice?
Vote!
1
answer
What is Fragment Caching in ASP.NET?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
asp-net
net-interview-question
Nice?
Vote!
1
answer
What is the Pre-Compilation feature of ASP.NET 2.0?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
asp-net
net-interview-question
Nice?
Vote!
1
answer
What are the best practices to follow to secure connection strings in an ASP.NET web application?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
asp-net
net-interview-question
Nice?
Vote!
1
answer
What is the advantage of storing an XML file in the applications App_Data folder?
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
asp-net
net-interview-question
Nice?
Vote!
1
answer
Explain the two different types of remote object creation mode in .NET.
asked
1 year
ago
in
.NET Interview Questions and Answers
by
KrishnaMachiraju
(
7,980
points)
asp-net
net-interview-question