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

C#

 
GeneralRe: Build feature like "Find all references" in VS2008 Pin
ndkit18-Oct-10 17:00
ndkit18-Oct-10 17:00 
AnswerRe: Build feature like "Find all references" in VS2008 Pin
Eddy Vluggen18-Oct-10 7:33
professionalEddy Vluggen18-Oct-10 7:33 
GeneralRe: Build feature like "Find all references" in VS2008 Pin
ndkit18-Oct-10 16:53
ndkit18-Oct-10 16:53 
AnswerRe: Build feature like "Find all references" in VS2008 Pin
T M Gray18-Oct-10 10:45
T M Gray18-Oct-10 10:45 
AnswerRe: Build feature like "Find all references" in VS2008 Pin
Luc Pattyn18-Oct-10 11:03
sitebuilderLuc Pattyn18-Oct-10 11:03 
GeneralRe: Build feature like "Find all references" in VS2008 Pin
ndkit18-Oct-10 19:25
ndkit18-Oct-10 19:25 
GeneralRe: Build feature like "Find all references" in VS2008 Pin
Luc Pattyn19-Oct-10 0:14
sitebuilderLuc Pattyn19-Oct-10 0:14 
QuestionKeeping a Linked List generic untill the end, is it possible? Pin
Ian Durward17-Oct-10 22:14
Ian Durward17-Oct-10 22:14 
Hi
Just seeking some help with a linked list in C# and if it can do what I require it to do. Below is a simple version of what I want to do.

public LinkedList<Object> createList()<br />
{<br />
     LinkedList<Object> l = null;<br />
     MyObject oj = new MyObject;<br />
     l.addLast(oj);<br />
<br />
     return l;<br />
}<br />
<br />
public convertObject()<br />
{<br />
     LinkedList<MyObject> list = (MyObject)executeSQL(sql, array);<br />
}


The reason for this is because i want the createList to remain generic as the actual code will be used to collect data from a database, place the data in objects and then add it to the linkedlist. At all times the link list will only contain 1 object type but i want to be able to re-use the method regardless of what object type it is. Originally I had this working using ArrayList but I would prefer to use LinkedList due to the added features.

I hope the above explained what I wanted without having to type the actual code which is a couple of pages long.

Any help would be appreciated, if you need more info then let me know.

Cheers
AnswerRe: Keeping a Linked List generic untill the end, is it possible? Pin
Sauro Viti17-Oct-10 22:20
professionalSauro Viti17-Oct-10 22:20 
AnswerRe: Keeping a Linked List generic untill the end, is it possible? Pin
Ian Durward17-Oct-10 22:41
Ian Durward17-Oct-10 22:41 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? [modified] Pin
Keith Barrow17-Oct-10 22:47
professionalKeith Barrow17-Oct-10 22:47 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? Pin
Ian Durward17-Oct-10 23:07
Ian Durward17-Oct-10 23:07 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? Pin
Keith Barrow17-Oct-10 23:13
professionalKeith Barrow17-Oct-10 23:13 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? [modified] Pin
Ian Durward18-Oct-10 0:13
Ian Durward18-Oct-10 0:13 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? Pin
Keith Barrow18-Oct-10 5:27
professionalKeith Barrow18-Oct-10 5:27 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? Pin
_Erik_19-Oct-10 4:28
_Erik_19-Oct-10 4:28 
AnswerRe: Keeping a Linked List generic untill the end, is it possible? Pin
Keith Barrow17-Oct-10 22:42
professionalKeith Barrow17-Oct-10 22:42 
GeneralRe: Keeping a Linked List generic untill the end, is it possible? Pin
Ian Durward17-Oct-10 22:51
Ian Durward17-Oct-10 22:51 
QuestionProblem running a Web Service in a Window Service Pin
Varun Sareen17-Oct-10 19:49
Varun Sareen17-Oct-10 19:49 
AnswerRe: Problem running a Web Service in a Window Service Pin
Abhinav S17-Oct-10 20:28
Abhinav S17-Oct-10 20:28 
GeneralRe: Problem running a Web Service in a Window Service Pin
Varun Sareen17-Oct-10 20:49
Varun Sareen17-Oct-10 20:49 
GeneralRe: Problem running a Web Service in a Window Service Pin
Abhinav S17-Oct-10 22:05
Abhinav S17-Oct-10 22:05 
GeneralRe: Problem running a Web Service in a Window Service Pin
Varun Sareen18-Oct-10 19:00
Varun Sareen18-Oct-10 19:00 
Questionhow to get x,y coordinates when drawing rectangle on the picture box Pin
ash_ng17-Oct-10 19:37
ash_ng17-Oct-10 19:37 
AnswerRe: how to get x,y coordinates when drawing rectangle on the picture box Pin
Khaniya17-Oct-10 20:33
professionalKhaniya17-Oct-10 20:33 

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.