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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Explain the advantage of using system.text.stringbuilder over system.string?
Can I fly with a loop recorder?
Can you create partial delegates and enumerations?
What is datatable and dataset in c#?
What is class and object c#?
What Happens In Memory When You Box And Unbox A Value-type?
How do you restrict the type which can be used in custom generic?
What is difference between an reference type and value type in C#?
What is a streamwriter in c#?
Which is faster hashtable or dictionary?
Explain the types of Polymorphism.
What does console readline do?