Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
Questionview data on gridview Pin
mohammadcom20-Oct-08 1:08
mohammadcom20-Oct-08 1:08 
AnswerRe: view data on gridview Pin
Ashfield20-Oct-08 1:18
Ashfield20-Oct-08 1:18 
AnswerRe: view data on gridview Pin
nelsonpaixao20-Oct-08 12:55
nelsonpaixao20-Oct-08 12:55 
Questionwhat is .pfx file Pin
wasimsharp19-Oct-08 23:49
wasimsharp19-Oct-08 23:49 
AnswerRe: what is .pfx file Pin
Pete O'Hanlon20-Oct-08 0:12
mvePete O'Hanlon20-Oct-08 0:12 
QuestionMerge List in .NET Pin
papy-boom19-Oct-08 23:37
papy-boom19-Oct-08 23:37 
AnswerRe: Merge List in .NET Pin
Simon P Stevens19-Oct-08 23:45
Simon P Stevens19-Oct-08 23:45 
AnswerRe: Merge List in .NET Pin
Guffa20-Oct-08 1:21
Guffa20-Oct-08 1:21 
papy-boom wrote:
the list ALL must contains the merge of the three list, the question is can we do with out using foreach statment for the thre list.


Well, you can call methods that does it for you, but there is no way to merge entire lists. The items has to be added one at a time whichever method you use.

The most efficient way is to create a list with a specific capacity, that way it doesn't have to be resized while the items are added:
List<int> all = new List<int>(audios.Count + videos.Count + books.Count);
all.AddRange(audios);
all.AddRange(videos);
all.AddRange(books);


Despite everything, the person most likely to be fooling you next is yourself.

QuestionListView Pin
boiDev19-Oct-08 23:25
boiDev19-Oct-08 23:25 
AnswerRe: ListView Pin
Shyam Bharath19-Oct-08 23:31
Shyam Bharath19-Oct-08 23:31 
QuestionHow to get RTC(Real time clock) time using c#? Pin
lovnin19-Oct-08 23:08
lovnin19-Oct-08 23:08 
AnswerRe: How to get RTC(Real time clock) time using c#? Pin
Simon P Stevens19-Oct-08 23:10
Simon P Stevens19-Oct-08 23:10 
GeneralRe: How to get RTC(Real time clock) time using c#? Pin
lovnin19-Oct-08 23:16
lovnin19-Oct-08 23:16 
GeneralRe: How to get RTC(Real time clock) time using c#? Pin
Simon P Stevens19-Oct-08 23:34
Simon P Stevens19-Oct-08 23:34 
QuestionRemove/Uninstall Applications Pin
Starzfighter19-Oct-08 22:54
Starzfighter19-Oct-08 22:54 
QuestionProblem in getting the List of user 's from ADS. Pin
vinay_K19-Oct-08 22:38
vinay_K19-Oct-08 22:38 
AnswerRe: Problem in getting the List of user 's from ADS. Pin
Mirko198020-Oct-08 0:36
Mirko198020-Oct-08 0:36 
GeneralRe: Problem in getting the List of user 's from ADS. Pin
vinay_K20-Oct-08 2:25
vinay_K20-Oct-08 2:25 
QuestionRichTextBox problem Pin
Pedram Behroozi19-Oct-08 22:07
Pedram Behroozi19-Oct-08 22:07 
AnswerRe: RichTextBox problem [modified] Pin
N a v a n e e t h19-Oct-08 22:22
N a v a n e e t h19-Oct-08 22:22 
GeneralRe: RichTextBox problem Pin
Pedram Behroozi19-Oct-08 22:34
Pedram Behroozi19-Oct-08 22:34 
GeneralRe: RichTextBox problem Pin
N a v a n e e t h19-Oct-08 22:41
N a v a n e e t h19-Oct-08 22:41 
GeneralRe: RichTextBox problem Pin
Pedram Behroozi19-Oct-08 22:49
Pedram Behroozi19-Oct-08 22:49 
GeneralRe: RichTextBox problem Pin
N a v a n e e t h19-Oct-08 23:09
N a v a n e e t h19-Oct-08 23:09 
GeneralRe: RichTextBox problem Pin
Pedram Behroozi19-Oct-08 23:16
Pedram Behroozi19-Oct-08 23:16 

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.