Click here to Skip to main content
15,915,019 members
Home / Discussions / C#
   

C#

 
GeneralRe: Create Rule in runtime mode Pin
Pete O'Hanlon25-Mar-08 22:48
mvePete O'Hanlon25-Mar-08 22:48 
GeneralPassing an array of struct Pin
Jerry Graham25-Mar-08 7:48
Jerry Graham25-Mar-08 7:48 
GeneralRe: Passing an array of struct Pin
Gareth H25-Mar-08 7:52
Gareth H25-Mar-08 7:52 
GeneralRe: Passing an array of struct Pin
Jerry Graham25-Mar-08 9:00
Jerry Graham25-Mar-08 9:00 
GeneralRe: Passing an array of struct [modified] Pin
Gareth H25-Mar-08 9:07
Gareth H25-Mar-08 9:07 
GeneralRe: Passing an array of struct Pin
Jerry Graham25-Mar-08 9:36
Jerry Graham25-Mar-08 9:36 
GeneralRe: Passing an array of struct Pin
Jerry Graham25-Mar-08 10:58
Jerry Graham25-Mar-08 10:58 
GeneralRe: Passing an array of struct Pin
Guffa25-Mar-08 23:16
Guffa25-Mar-08 23:16 
When you create an array of structures, the array contains the instances of the structure.

When you create an array of objects, the array contains references to the objects. All references are null when you create the array, so you have to create the instances and assign the references to the array items.

Structures are tricky to use, especially if they are mutable, as your structure is. Unless you have a really good reason to use a structure, just keep to using classes.

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

GeneralRe: Passing an array of struct Pin
Jerry Graham26-Mar-08 13:27
Jerry Graham26-Mar-08 13:27 
GeneralRe: Passing an array of struct Pin
Guffa26-Mar-08 14:42
Guffa26-Mar-08 14:42 
GeneralAuthenticating Against Active Directory in Web App. Pin
dboy22125-Mar-08 7:44
dboy22125-Mar-08 7:44 
General***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
DoubleDiamond25-Mar-08 7:22
DoubleDiamond25-Mar-08 7:22 
GeneralRe: ***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
Christian Graus25-Mar-08 10:21
protectorChristian Graus25-Mar-08 10:21 
GeneralRe: ***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
DoubleDiamond25-Mar-08 10:57
DoubleDiamond25-Mar-08 10:57 
GeneralRe: ***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
Christian Graus25-Mar-08 11:02
protectorChristian Graus25-Mar-08 11:02 
GeneralRe: ***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
DoubleDiamond25-Mar-08 11:24
DoubleDiamond25-Mar-08 11:24 
GeneralRe: ***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
Christian Graus25-Mar-08 11:42
protectorChristian Graus25-Mar-08 11:42 
AnswerRe: ***HELP** Get value from one of the following - Datalist/GridView/Repeater/Formview etc Pin
DoubleDiamond25-Mar-08 12:50
DoubleDiamond25-Mar-08 12:50 
QuestionHttpWebRequest : get all sub request of a particular URL Pin
Baro25-Mar-08 7:15
Baro25-Mar-08 7:15 
GeneralRe: HttpWebRequest : get all sub request of a particular URL Pin
K.L.K7-Apr-08 14:37
K.L.K7-Apr-08 14:37 
GeneralEnvironment.Exit(); Pin
Harvey Saayman25-Mar-08 6:32
Harvey Saayman25-Mar-08 6:32 
GeneralRe: Environment.Exit(); Pin
J4amieC25-Mar-08 6:47
J4amieC25-Mar-08 6:47 
JokeRe: Environment.Exit(); Pin
Luc Pattyn25-Mar-08 7:50
sitebuilderLuc Pattyn25-Mar-08 7:50 
GeneralRe: Environment.Exit(); Pin
Gareth H25-Mar-08 6:47
Gareth H25-Mar-08 6:47 
GeneralRe: Environment.Exit(); Pin
PIEBALDconsult25-Mar-08 7:29
mvePIEBALDconsult25-Mar-08 7:29 

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.