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 |
What is string class in c#?
In which situation(s), the use of "Delegate" is a good idea?
What is the output of TextWriterTraceListener redirected?
what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??
What is dependency in software?
Is std :: string null terminated?
What is a void c#?
What is parsing? How to parse a date time string?
What is dictionary collection in c#?
Explain the advantage of using system.text.stringbuilder over system.string?
What is using keyword in C#?
What does public mean in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)