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 a delegate? Explain.
What are most desktop applications written in?
What is boxing? Explain its functionality?
how to convert String array to StringBuilder array or vice versa?
What is double c#?
What are the different types of assemblies available and their purpose?
what are nullable types in c#
What is verbatim literal in c#?
What is dll in c#?
What is the use of parse in c#?
Does c# supports destructors?
What is the difference between out and ref 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)