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 |
coding for delegates?
What is meaning of type safety in c#?
What is garbage collector and where should you use in .NET?
What is string method in c#?
how to implement singelton in C# & its uses?
What is an interface class in c#?
how can we pass parameters to a user control using delegates ?
What is the use of ienumerable in c#?
what is the use of master pages. how to use it
What is data quality assurance?
What is get set in c#?
What is null in database?
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)