Click here to Skip to main content
15,909,530 members
Home / Discussions / C#
   

C#

 
AnswerRe: Acces to a mapped network drive. Pin
Stephan Samuel3-Jun-06 4:03
Stephan Samuel3-Jun-06 4:03 
Questionhow can we run a program pernemently on our desktop? Pin
abiisalwayshappy2-Jun-06 18:14
abiisalwayshappy2-Jun-06 18:14 
AnswerRe: how can we run a program pernemently on our desktop? Pin
Stephen_Mc2-Jun-06 19:36
Stephen_Mc2-Jun-06 19:36 
AnswerRe: how can we run a program pernemently on our desktop? Pin
malikjhangirahmed@hotmail.com2-Jun-06 21:37
malikjhangirahmed@hotmail.com2-Jun-06 21:37 
Questionlearning C# - new operator - arrays Pin
venkat4562-Jun-06 16:46
venkat4562-Jun-06 16:46 
AnswerRe: learning C# - new operator - arrays Pin
leppie2-Jun-06 20:50
leppie2-Jun-06 20:50 
GeneralRe: learning C# - new operator - Generics - arrays Pin
venkat4563-Jun-06 3:43
venkat4563-Jun-06 3:43 
GeneralRe: learning C# - new operator - Generics - arrays Pin
S. Senthil Kumar4-Jun-06 20:49
S. Senthil Kumar4-Jun-06 20:49 
venkat456 wrote:
I still feel this is wrong.

How is this wrong? Value types are created inline and that's why creating an array of valuetypes results in them being initialized with default values. An array of reference types stores just that, references to instances on the heap, so they obviously get initialized to null.

If you still think that's wrong, consider the following C++ snippet.
int arr[10];

vs
int **arr = new int*[10];

The second statement will create an array of int * pointers, all initialized to NULL. You can consider reference types similar to that.


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
Questionc# userControl problem Pin
xxxpt2-Jun-06 15:28
xxxpt2-Jun-06 15:28 
QuestionProblem figuring out DataGridView Pin
PyroManiak2-Jun-06 13:34
PyroManiak2-Jun-06 13:34 
AnswerRe: Problem figuring out DataGridView Pin
kjosh2-Jun-06 16:36
kjosh2-Jun-06 16:36 
AnswerRe: Problem figuring out DataGridView Pin
kjosh2-Jun-06 16:41
kjosh2-Jun-06 16:41 
Questionwant to know the index of ArrayList during BinarySearch Pin
Rizwan Rathore2-Jun-06 10:59
Rizwan Rathore2-Jun-06 10:59 
AnswerRe: want to know the index of ArrayList during BinarySearch Pin
lmoelleb2-Jun-06 11:09
lmoelleb2-Jun-06 11:09 
GeneralRe: want to know the index of ArrayList during BinarySearch Pin
Rizwan Rathore2-Jun-06 11:29
Rizwan Rathore2-Jun-06 11:29 
GeneralRe: want to know the index of ArrayList during BinarySearch Pin
lmoelleb2-Jun-06 21:57
lmoelleb2-Jun-06 21:57 
QuestionSave Image from web browser Pin
Achuzan2-Jun-06 10:42
Achuzan2-Jun-06 10:42 
AnswerRe: Save Image from web browser Pin
Stephan Samuel2-Jun-06 11:45
Stephan Samuel2-Jun-06 11:45 
AnswerRe: Save Image from web browser Pin
Ed.Poore2-Jun-06 13:51
Ed.Poore2-Jun-06 13:51 
QuestionMonitor Bandwidth Usage Pin
Darren_2-Jun-06 10:28
Darren_2-Jun-06 10:28 
AnswerRe: Monitor Bandwidth Usage Pin
Stephan Samuel2-Jun-06 10:38
Stephan Samuel2-Jun-06 10:38 
GeneralRe: Monitor Bandwidth Usage Pin
Darren_2-Jun-06 10:45
Darren_2-Jun-06 10:45 
GeneralRe: Monitor Bandwidth Usage Pin
Darren_2-Jun-06 11:22
Darren_2-Jun-06 11:22 
GeneralRe: Monitor Bandwidth Usage Pin
Stephan Samuel2-Jun-06 11:33
Stephan Samuel2-Jun-06 11:33 
GeneralRe: Monitor Bandwidth Usage Pin
Darren_2-Jun-06 22:31
Darren_2-Jun-06 22:31 

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.