Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: database handling in C# Pin
Brian Aihab9-Mar-10 22:42
Brian Aihab9-Mar-10 22:42 
Questionhyperlink to open/save image Pin
missy48-Mar-06 14:10
missy48-Mar-06 14:10 
AnswerRe: hyperlink to open/save image Pin
Guffa8-Mar-06 18:27
Guffa8-Mar-06 18:27 
GeneralRe: hyperlink to open/save image Pin
missy48-Mar-06 18:30
missy48-Mar-06 18:30 
GeneralRe: hyperlink to open/save image Pin
missy48-Mar-06 19:40
missy48-Mar-06 19:40 
AnswerRe: hyperlink to open/save image Pin
Guffa9-Mar-06 6:41
Guffa9-Mar-06 6:41 
Questionserver error in crystal report Pin
angelagke8-Mar-06 13:47
angelagke8-Mar-06 13:47 
QuestionOverloading a class? Pin
eggsovereasy8-Mar-06 10:30
eggsovereasy8-Mar-06 10:30 
I don't know if there is a way to do what I am about to describe so please tell me if it can or can not be done. I have done some searching but have found nothing similar to what I want.

As a simple example lets say I want to create a class to impliment linked lists. I want to have doubly and singly linked lists available, but the only public class I want to have is LinkedList. Ok, so a singly linked list is a subset of a doubly linked list, so there is nothing it can do a doubly linked one could not do. So you ask.. "eggsovereasy, just make a doubly linked list class and it can handle the singly linked ones". To which I respond that I think it would be clean were only the methods and properties pertinent to the type of LL you want made accessible.

So, the method to add a node in a DLL would look like:

Add(Node<T> prevNode, T data)

and a SLL like so:

Add(T data)

The two input method would not even be accessible if you set the "Type" property on LinkedList to "Singly".

I don't think this can be done, but it would cool if it could.
AnswerRe: Overloading a class? Pin
Le centriste8-Mar-06 16:00
Le centriste8-Mar-06 16:00 
AnswerRe: Overloading a class? Pin
Le centriste8-Mar-06 16:22
Le centriste8-Mar-06 16:22 
QuestionOLE in-place activation server Pin
Nikhil Dabas8-Mar-06 10:25
Nikhil Dabas8-Mar-06 10:25 
QuestionWindows Service like application for Windows CE? Pin
spAAwn8-Mar-06 10:11
spAAwn8-Mar-06 10:11 
QuestionIterating throu files Pin
Mr Marchepane8-Mar-06 8:48
Mr Marchepane8-Mar-06 8:48 
AnswerRe: Iterating throu files Pin
Kevin McFarlane8-Mar-06 10:17
Kevin McFarlane8-Mar-06 10:17 
QuestionAdd a checkbox to a openfiledialog ??? Pin
Ralf Hägenläuer8-Mar-06 8:27
Ralf Hägenläuer8-Mar-06 8:27 
AnswerRe: Add a checkbox to a openfiledialog ??? Pin
CWIZO8-Mar-06 10:36
CWIZO8-Mar-06 10:36 
GeneralRe: Add a checkbox to a openfiledialog ??? Pin
Steve Hansen9-Mar-06 3:22
Steve Hansen9-Mar-06 3:22 
GeneralRe: Add a checkbox to a openfiledialog ??? Pin
Ralf Hägenläuer9-Mar-06 10:35
Ralf Hägenläuer9-Mar-06 10:35 
QuestionObjects as DataGrid datasource Pin
nixter9998-Mar-06 7:58
nixter9998-Mar-06 7:58 
QuestionSamples of GUI Pin
Tom Wright8-Mar-06 7:01
Tom Wright8-Mar-06 7:01 
AnswerRe: Samples of GUI Pin
Judah Gabriel Himango8-Mar-06 7:11
sponsorJudah Gabriel Himango8-Mar-06 7:11 
QuestionHow to obtain drive letters without checking the diskette? Pin
Libor Tinka8-Mar-06 6:53
Libor Tinka8-Mar-06 6:53 
AnswerRe: How to obtain drive letters without checking the diskette? Pin
Tom Wright8-Mar-06 7:04
Tom Wright8-Mar-06 7:04 
GeneralRe: How to obtain drive letters without checking the diskette? Pin
Dan Neely8-Mar-06 7:19
Dan Neely8-Mar-06 7:19 
GeneralRe: How to obtain drive letters without checking the diskette? Pin
Tom Wright8-Mar-06 7:25
Tom Wright8-Mar-06 7:25 

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.