Click here to Skip to main content
15,890,741 members
Home / Discussions / C#
   

C#

 
AnswerRe: control border settings Pin
Henry Minute14-May-10 1:58
Henry Minute14-May-10 1:58 
QuestionFTP via proxy Pin
Gavs4313-May-10 9:46
Gavs4313-May-10 9:46 
AnswerRe: FTP via proxy Pin
Luc Pattyn13-May-10 10:09
sitebuilderLuc Pattyn13-May-10 10:09 
QuestionCreate an object of an inherited class Pin
popchecker13-May-10 7:40
popchecker13-May-10 7:40 
AnswerRe: Create an object of an inherited class Pin
T M Gray13-May-10 8:01
T M Gray13-May-10 8:01 
GeneralRe: Create an object of an inherited class Pin
popchecker13-May-10 15:15
popchecker13-May-10 15:15 
AnswerRe: Create an object of an inherited class Pin
William Winner13-May-10 8:05
William Winner13-May-10 8:05 
GeneralRe: Create an object of an inherited class Pin
popchecker13-May-10 15:31
popchecker13-May-10 15:31 
William Winner wrote:
how are you not getting errors with what's written anyway?


yes I know I can't call a method in an abstract class, it will make a runtime error. I just demonstrated how I want to implement it. It was to make clear my idea.

William Winner wrote:
Secondly, in order to implement it, you have to override it in the class that inherits from it. In other words, it should be
public override void DoSomething()


Sorry that was a typo.

William Winner wrote:
And why would you ever want to call a method within an abstract class? You want to call a method within a class that inherits that abstract class. Unless, you just want an interface.



May be I couldn't explained my problem properly. This is a design issue. myBase and AnotherPartOfLibrary are in my library. The
UserImplementation
is not part of my library. It declared only at the time of user implementation. That is my problem. This a set of components for the use of programmers. They can use the classes in library. Also they can inherit some class for extending its functionality. So my problem is, while designing this set of classes I am not aware of the classes the users going to implement. How can I initialize those classes in my classes?
GeneralRe: Create an object of an inherited class Pin
DaveyM6913-May-10 22:51
professionalDaveyM6913-May-10 22:51 
AnswerRe: Create an object of an inherited class Pin
DaveyM6913-May-10 9:22
professionalDaveyM6913-May-10 9:22 
QuestionHow to get the row number from a detail view [modified] Pin
gmhanna13-May-10 5:02
gmhanna13-May-10 5:02 
AnswerRe: How to get the row number from a non-grid view Pin
Abhinav S13-May-10 5:21
Abhinav S13-May-10 5:21 
QuestionRe: How to get the row number from a non-grid view Pin
gmhanna13-May-10 7:02
gmhanna13-May-10 7:02 
QuestionNon blocking TCP Pin
TimSWatson13-May-10 3:51
TimSWatson13-May-10 3:51 
AnswerRe: Non blocking TCP Pin
Alex Manolescu13-May-10 8:48
Alex Manolescu13-May-10 8:48 
AnswerRe: Non blocking TCP Pin
jschell13-May-10 8:56
jschell13-May-10 8:56 
Questionhow to return sublist Pin
igalep13213-May-10 3:30
igalep13213-May-10 3:30 
AnswerRe: how to return sublist Pin
Nuri Ismail13-May-10 3:44
Nuri Ismail13-May-10 3:44 
GeneralRe: how to return sublist Pin
igalep13213-May-10 3:53
igalep13213-May-10 3:53 
GeneralRe: how to return sublist [modified] Pin
Nuri Ismail13-May-10 4:42
Nuri Ismail13-May-10 4:42 
GeneralRe: how to return sublist Pin
igalep13216-May-10 11:26
igalep13216-May-10 11:26 
QuestionApplication/Framework for rapid small-application-development available? Pin
Frygreen13-May-10 2:06
Frygreen13-May-10 2:06 
AnswerRe: Application/Framework for rapid small-application-development available? Pin
Richard MacCutchan13-May-10 3:15
mveRichard MacCutchan13-May-10 3:15 
QuestionSave "app.config" configuration-file does not work Pin
Frygreen13-May-10 1:39
Frygreen13-May-10 1:39 
AnswerRe: Save "app.config" configuration-file does not work Pin
Arun Jacob13-May-10 1:48
Arun Jacob13-May-10 1:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.