If I have a base class with a virtual destructor. Has a derived class to declare a virtual destructor too?
While working on some graphics code a while back, I wrote Rect and Region classes using ints as the underlying coordinate holder, and that worked fine. The Region was implemented as a simple class ext
I have a class CommonTableModel that has several instance methods and each operate on the two instance variables
Curious situation: public class MyTextBox : TextBox { // I want use the same height for all MyTextBoxes public new static int Height;
I am attempting to use the Microsoft enterprise Validation methods to perform validation in my entities.In my base class I have the following method:
The full .Net framework has an inherited UserControl but this option isn\'t offered by Visual Studio when creating a new control in a Compact Framework project.
If I create class A, and class B inherits from class A, why does C# require me to explicitly cast between them?
I\'m trying to follow the nifty tutorial at http://www.kriesi.at/archives/create-a-multilevel-dropdown-menu-with-css-and-improve-it-via-jquery and well, it hit me that I\'m trying to use jquery\'s CSS
What I would like to do is have a static factory function that you can give a series of attributes and it returns an object that is of a previously undeclared class that extends a known class.
I have a class Parameter, the purpose of which is to represent the possible values a certain parameter could hold (implements two key methods, GetNumValues() and GetValue(int index)).