Can we make a class with class with same;suppose
public class abc
{
public class abc
{
}
}
Answer Posted / phani
No, We can't make a class with same.
We will get error as: Member name can't be same as their
enclosed types
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can you enable impersonation in the web.config file?
how can create login from create and written conde in asp.net
Where viewstate value is stored in asp.net?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
What is the difference between visual basic and asp.net?
What is autopostback in asp net?
Explain the server control events of asp.net ?
How do you create a master page?
What role “#&&” plays in a querysting?
Explain a program using razor view engine to create a simple application? : asp.net mvc
What are the main differences between asp and asp.net?
What is a master page and what does it do?
Can you explain composite pattern?
How does windows service lifecycle differ from a .standard. Exe?
How can you ensure a permanent cookie?