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

C#

 
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 
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 
Apologies about my first reply, I misunderstood your question. How about:

public LinkedList<T> ExecuteSQL<T>(sql)
{
   //......
}
public LinkedList<T> findAll<T>()
{
  string sql = "SELECT * FROM access";
  return ExecuteSQL<T>(sql); // in superclass
  return aArray;
}


Then you can specify the type, or you can change T to Object.
[Edit]: added the l to "public", Freud would have a field-day with me Smile | :)
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
modified on Monday, October 18, 2010 5:13 AM

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 
AnswerRe: how to get x,y coordinates when drawing rectangle on the picture box Pin
johannesnestler19-Oct-10 4:14
johannesnestler19-Oct-10 4:14 
QuestionSQL Backing up with SMO & C# ? Pin
Mohammad Dayyan17-Oct-10 4:49
Mohammad Dayyan17-Oct-10 4:49 
AnswerRe: SQL Backing up with SMO & C# ? Pin
Ravi Bhavnani17-Oct-10 6:01
professionalRavi Bhavnani17-Oct-10 6:01 

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.