Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Postback Pin
N a v a n e e t h14-Aug-08 0:28
N a v a n e e t h14-Aug-08 0:28 
GeneralRe: Postback Pin
N a v a n e e t h14-Aug-08 0:27
N a v a n e e t h14-Aug-08 0:27 
AnswerRe: Postback PinPopular
J4amieC14-Aug-08 0:32
J4amieC14-Aug-08 0:32 
GeneralRe: Postback Pin
Christian Graus14-Aug-08 1:03
protectorChristian Graus14-Aug-08 1:03 
QuestionPrinter document Pages,size in C# Pin
balu1234513-Aug-08 23:39
balu1234513-Aug-08 23:39 
AnswerRe: Printer document Pages,size in C# Pin
Uros Calakovic14-Aug-08 11:24
Uros Calakovic14-Aug-08 11:24 
QuestionQuick question about typed lists and dictionaries Pin
Megidolaon13-Aug-08 23:39
Megidolaon13-Aug-08 23:39 
AnswerRe: Quick question about typed lists and dictionaries Pin
N a v a n e e t h14-Aug-08 0:01
N a v a n e e t h14-Aug-08 0:01 
Megidolaon wrote:
Is the performance so low or the overhead of a typed list/dictionary so big that an array is usually better?


List uses arrays internally to keep it's items. So I think comparing arrays and list doesn't make any sense.

If the number of items to be stored are known, there is no extra tasks included in the List. You can initialize list by specifying the required space count. It just initializes an array with the same size specified.

There are some extra steps involved when the size is unknown. List creates an array with some size upon initialization. When there is no space to keep new items, it just copies the existing array to a larger one.

Anyway, typed lists are easy to use than using arrays manually.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

QuestionHow to trace the method call path? Pin
Krishnaraj Barvathaya B13-Aug-08 23:32
Krishnaraj Barvathaya B13-Aug-08 23:32 
AnswerRe: How to trace the method call path? Pin
Pete O'Hanlon14-Aug-08 0:09
mvePete O'Hanlon14-Aug-08 0:09 
Questionserver farm and role of web service in ti Pin
aref8713-Aug-08 23:19
aref8713-Aug-08 23:19 
AnswerRe: server farm and role of web service in ti Pin
Colin Angus Mackay13-Aug-08 23:30
Colin Angus Mackay13-Aug-08 23:30 
GeneralRe: server farm and role of web service in ti Pin
aref8714-Aug-08 10:31
aref8714-Aug-08 10:31 
GeneralRe: server farm and role of web service in ti Pin
Colin Angus Mackay14-Aug-08 11:19
Colin Angus Mackay14-Aug-08 11:19 
GeneralRe: server farm and role of web service in ti Pin
aref8714-Aug-08 13:20
aref8714-Aug-08 13:20 
QuestionListen till they arrived Pin
Pedram Behroozi13-Aug-08 23:03
Pedram Behroozi13-Aug-08 23:03 
AnswerRe: Listen till they arrived Pin
Pete O'Hanlon13-Aug-08 23:12
mvePete O'Hanlon13-Aug-08 23:12 
GeneralRe: Listen till they arrived Pin
Pedram Behroozi14-Aug-08 1:07
Pedram Behroozi14-Aug-08 1:07 
GeneralRe: Listen till they arrived Pin
Pete O'Hanlon14-Aug-08 2:02
mvePete O'Hanlon14-Aug-08 2:02 
AnswerRe: Listen till they arrived Pin
vikas amin14-Aug-08 9:36
vikas amin14-Aug-08 9:36 
QuestionUsing Microsoft.Office.Interop.Excel Pin
Suj_7813-Aug-08 23:03
Suj_7813-Aug-08 23:03 
QuestionEscaping Quotes Pin
maliary13-Aug-08 22:57
maliary13-Aug-08 22:57 
AnswerRe: Escaping Quotes Pin
dipak.dipak13-Aug-08 23:21
dipak.dipak13-Aug-08 23:21 
AnswerRe: Escaping Quotes Pin
PIEBALDconsult14-Aug-08 3:46
mvePIEBALDconsult14-Aug-08 3:46 
QuestionCalculating memory size utilized by each object Pin
N a v a n e e t h13-Aug-08 22:41
N a v a n e e t h13-Aug-08 22:41 

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.