class Employee
{
stat9c Method1()
static Method2(ref a)
stat9c Method3(out x)
}
class Employee
{
stat9c Method1()
static Method2(ref a)
stat9c Method3(out x)
}
what will happen & why?
Answer Posted / sisira
it will give complie error bcoz same class name already
declare
Solution:
Make it both class Partial
and stat9c is not key word
please make it static.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is partial assembly reference
what is the difference between convert.tostring() and tostring() functions ?
Why delegates are type safe?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
Explain the working of serialization?
What is a partial class in c#?
What is private virtual in C#?
What is the use of console readkey in c#?
What are the delegates in c#?
Why do we use readonly in c#?
Which is more efficient for loop or while loop?
Difference between StackPanel and RelativePanel ?
What is main thread in c#?
Why do we need encapsulation in c#?
Why singleton class is sealed in c#?