Total Questions:-520 Goto Page:
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
R4R ---> Articles--> C# -->C# Articles List
Page 1
Articles:
Post Your View
ViewsHi there, i have been programming for a few weeks now, i am still learning new things as i go on.
i would like to understand a few more things about
For More
By:Aaron .M
Date:
Articles:
When you inherit a protected class-level variable, who is it available to?
Post Your View
ViewsClasses in the same namespace.
For More
By:kamal
Date:
Articles:
.What class is underneath the SortedList class?
Post Your View
Viewssorted HashTable.
For More
By:kamal
Date:
Articles:
.What’s an abstract class?
Post Your View
ViewsAbstract Class:-A class that cannot be instantiated. An abstract class is a class that must be inherited and have the methods overridden. An abstract
For More
By:kamal
Date:
Articles:
.When do you absolutely have to declare a class as abstract?
Post Your View
Views1. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden.
2. When at least one of the m
For More
By:kamal
Date:
Articles:
Are private class-level variables inherited?
Post Your View
ViewsYes, but they are not accessible.
For More
By:kamal
Date:
Articles:
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
Post Your View
ViewsTwo. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there is no implemen
For More
By:kamal
Date:
Articles:
Can multiple catch blocks be executed?
Post Your View
ViewsNo, multiple catch blocks can not be executed. once the proper catch code fires off, the control is transferred to the finally block (if there are an
For More
By:kamal
Date:
Articles:
Can you allow a class to be inherited, but prevent the method from being over-ridden?
Post Your View
ViewsJust leave the class public and make the method sealed.
For More
By:kamal
Date:
Articles:
Can you allow class to be inherited, but prevent the method from being over-ridden?
Post Your View
ViewsYes, just leave the class public and make the method sealed
For More
By:kamal
Date:
Go:
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52