Click here to Skip to main content
15,914,452 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can i get currser postion Pin
sam#31-Oct-06 2:14
sam#31-Oct-06 2:14 
QuestionHow to transform JPG-File to PDF-File? Pin
jason_mf31-Oct-06 1:49
jason_mf31-Oct-06 1:49 
AnswerRe: How to transform JPG-File to PDF-File? Pin
Christian Graus31-Oct-06 2:09
protectorChristian Graus31-Oct-06 2:09 
GeneralRe: How to transform JPG-File to PDF-File? Pin
Russell Jones31-Oct-06 2:56
Russell Jones31-Oct-06 2:56 
Questioncan we have an arraylist as a member in C# Pin
kalaveer31-Oct-06 1:26
kalaveer31-Oct-06 1:26 
AnswerRe: can we have an arraylist as a member in C# Pin
Christian Graus31-Oct-06 1:28
protectorChristian Graus31-Oct-06 1:28 
GeneralRe: can we have an arraylist as a member in C# Pin
kalaveer31-Oct-06 1:47
kalaveer31-Oct-06 1:47 
GeneralRe: can we have an arraylist as a member in C# Pin
Guffa31-Oct-06 6:44
Guffa31-Oct-06 6:44 
kalaveer wrote:
but that initialization in the structure giving the following error

Error Field catalog_info.Name must be fully assigned before control leaves the constructor

why this error coming


Because you have to set the value of all members in the constructor. If you have no specific value for them, set them to null.

Remember that there is always a parameterless constructor for the struct, that initializes everything to 0/null.

I would suggest that you use a class instead of a struct, otherwise you can get some surprises when you start passing it around in your code. If you for example pass the struct to a method, the method will get a completely separate instance of the struct, but it still shares the same ArrayList.


---
b { font-weight: normal; }

AnswerRe: can we have an arraylist as a member in C# Pin
Elina Blank31-Oct-06 1:47
sitebuilderElina Blank31-Oct-06 1:47 
GeneralRe: can we have an arraylist as a member in C# Pin
kalaveer31-Oct-06 2:08
kalaveer31-Oct-06 2:08 
GeneralRe: can we have an arraylist as a member in C# Pin
Christian Graus31-Oct-06 2:16
protectorChristian Graus31-Oct-06 2:16 
GeneralRe: can we have an arraylist as a member in C# Pin
Elina Blank31-Oct-06 2:22
sitebuilderElina Blank31-Oct-06 2:22 
Questionlistview displaymember prpperty problem (Pls Help) Pin
vipinpaliwal198031-Oct-06 1:02
vipinpaliwal198031-Oct-06 1:02 
AnswerRe: listview displaymember prpperty problem (Pls Help) Pin
Christian Graus31-Oct-06 1:23
protectorChristian Graus31-Oct-06 1:23 
GeneralRe: listview displaymember prpperty problem (Pls Help) Pin
vipinpaliwal198031-Oct-06 1:28
vipinpaliwal198031-Oct-06 1:28 
AnswerRe: listview displaymember prpperty problem (Pls Help) [modified] Pin
rah_sin31-Oct-06 1:29
professionalrah_sin31-Oct-06 1:29 
QuestionValidating event Pin
midhat30-Oct-06 23:58
midhat30-Oct-06 23:58 
AnswerRe: Validating event Pin
Smon the Vidd31-Oct-06 2:11
Smon the Vidd31-Oct-06 2:11 
GeneralRe: Validating event Pin
midhat31-Oct-06 2:34
midhat31-Oct-06 2:34 
QuestionSystem events Pin
softgrid30-Oct-06 23:28
softgrid30-Oct-06 23:28 
AnswerRe: System events Pin
luckykhalid31-Oct-06 1:35
luckykhalid31-Oct-06 1:35 
QuestionMultiple Operations on Bulk Dataset Pin
meeram39530-Oct-06 22:56
meeram39530-Oct-06 22:56 
AnswerRe: Multiple Operations on Bulk Dataset Pin
rah_sin30-Oct-06 23:54
professionalrah_sin30-Oct-06 23:54 
Questiona question about Report Service Pin
myicewater30-Oct-06 22:08
myicewater30-Oct-06 22:08 
AnswerRe: a question about Report Service Pin
luckykhalid31-Oct-06 2:03
luckykhalid31-Oct-06 2:03 

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.