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
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a private assembly and a shared assembly?
How do you comment out code in c#?
What is the default value of guid in c#?
Does c# support a variable number of arguments?
List some of the classes used by system.data namespace?
Perfect Example Of While And Do-While Loop In C#.Net ?
Can you have an array of arrays?
What can be done with c#?
Why do we need interfaces in c#?
How do you name a variable in c#?
Is there an equivalent to the instanceof operator in visual j++?
Define assert() method? How does it work?
Explain attributes in c#?
What are the return types in c#?
Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?