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
How to force my .net app to run as administrator on windows 7?
What is better C# or VB.NET?
What is the use of oops in c#?
What do you mean by “finalize” and “finally” methods in c#?
Can we write class inside a class in c#?
What is ado c#?
What is nullable types in c#?
Explain clr in brief.
How is a loop recorder monitored?
Where value types are stored in c#?
What is typeof c#?
what is method overloading in c#?
What is a copy constructor in c#?
How do I create a single-file assembly?
What does console readline do?