Click here to Skip to main content
15,925,602 members
Home / Discussions / C#
   

C#

 
GeneralRe: Folder browser dialog Pin
AB777114-Mar-07 22:17
AB777114-Mar-07 22:17 
GeneralRe: Folder browser dialog Pin
hiremath7114-Mar-07 23:01
hiremath7114-Mar-07 23:01 
Questionlist box Pin
Question114-Mar-07 20:50
Question114-Mar-07 20:50 
AnswerRe: list box Pin
MoustafaS14-Mar-07 20:55
MoustafaS14-Mar-07 20:55 
AnswerRe: list box Pin
N a v a n e e t h14-Mar-07 21:01
N a v a n e e t h14-Mar-07 21:01 
Questionarray of objects problem Pin
Hari Om Prakash Sharma14-Mar-07 20:12
Hari Om Prakash Sharma14-Mar-07 20:12 
AnswerRe: array of objects problem Pin
Harini N K14-Mar-07 20:31
Harini N K14-Mar-07 20:31 
AnswerRe: array of objects problem Pin
Arindam Tewary14-Mar-07 20:41
professionalArindam Tewary14-Mar-07 20:41 
You must get that error!!!
Explanation: In the function temp,

In Line 1.You are creating an array of 3 elements. So that you are allowed to store 3 objects. But remember you dont have any objects so far in any of your array position(cell).

In Line2: The first object in 0th cell of the array you are trying to access( So far you dont hav anything in 0th cell of the array and so you get the error.)

So the bottom line is .... you must assign ( or store )something in the array before accessing array element(s).

Hope this helps ... Big Grin | :-D


Thanks,
Arindam D Tewary

GeneralRe: array of objects problem-thnks Pin
Hari Om Prakash Sharma14-Mar-07 22:23
Hari Om Prakash Sharma14-Mar-07 22:23 
Questioncode for the form close button Pin
Keshav V. Kamat14-Mar-07 20:08
Keshav V. Kamat14-Mar-07 20:08 
AnswerRe: code for the form close button Pin
N a v a n e e t h14-Mar-07 20:43
N a v a n e e t h14-Mar-07 20:43 
GeneralRe: code for the form close button Pin
Keshav V. Kamat14-Mar-07 23:01
Keshav V. Kamat14-Mar-07 23:01 
AnswerRe: code for the form close button Pin
MoustafaS14-Mar-07 20:59
MoustafaS14-Mar-07 20:59 
GeneralRe: code for the form close button Pin
Keshav V. Kamat14-Mar-07 23:03
Keshav V. Kamat14-Mar-07 23:03 
QuestionArray of Form Pin
Dothanhnam14-Mar-07 18:36
Dothanhnam14-Mar-07 18:36 
AnswerRe: Array of Form Pin
N a v a n e e t h14-Mar-07 18:52
N a v a n e e t h14-Mar-07 18:52 
GeneralRe: Array of Form Pin
Dothanhnam14-Mar-07 22:01
Dothanhnam14-Mar-07 22:01 
GeneralRe: Array of Form Pin
Stefan Troschuetz14-Mar-07 22:19
Stefan Troschuetz14-Mar-07 22:19 
QuestionCalculator help Pin
Anthony Mushrow14-Mar-07 17:44
professionalAnthony Mushrow14-Mar-07 17:44 
AnswerRe: Calculator help Pin
Leslie Sanford14-Mar-07 18:03
Leslie Sanford14-Mar-07 18:03 
GeneralRe: Calculator help Pin
Anthony Mushrow14-Mar-07 18:13
professionalAnthony Mushrow14-Mar-07 18:13 
QuestionHow to select letters in a string? Pin
Khoramdin14-Mar-07 17:27
Khoramdin14-Mar-07 17:27 
AnswerRe: How to select letters in a string? Pin
Christian Graus14-Mar-07 17:50
protectorChristian Graus14-Mar-07 17:50 
AnswerRe: How to select letters in a string? Pin
theScorp14-Mar-07 23:09
theScorp14-Mar-07 23:09 
QuestionRequest further explanation Pin
netproblemsolver14-Mar-07 16:58
netproblemsolver14-Mar-07 16:58 

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.