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 the difference between array and list in c#?
What is helper method in c#?
What is difference between private and protected?
How does dependency injection work c#?
What is iqueryable in c#?
When can a derived class override a base class member?
Which is more efficient for loop or while loop?
What is array and its types in c#?
What are methods c#?
What are access modifiers used for?
What is difference between an Structure and Class?
What does void do in unity?
Is c# used for any core features of windows vista?
what is a static constructor?
Is c# an open source?