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
Is collection a data structure?
Is c# pass by reference?
Explain the features of an abstract class in net.
What is the difference between an implicit conversion and an explicit conversion?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
Explain constructor in c#?
Is list a collection c#?
Why do we need indexers in c#?
How many types of variables are there in c#?
How do I link two windows forms in c#?
How do you concatenate in c#?
Explain how to implement an object pool in c#.net
What is method and function in c#?
What is byte c#?
Is datetime a value type in c#?