Click here to Skip to main content
15,891,864 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to connect two systems using C# without using any third server ? Pin
Bernhard Hiller4-Sep-14 20:55
Bernhard Hiller4-Sep-14 20:55 
GeneralRe: How to connect two systems using C# without using any third server ? Pin
AshiSh RaNa5-Sep-14 3:38
AshiSh RaNa5-Sep-14 3:38 
GeneralRe: How to connect two systems using C# without using any third server ? Pin
Nathan Minier5-Sep-14 3:43
professionalNathan Minier5-Sep-14 3:43 
Question'System.Windows.Controls.Image' does not contain a definition for 'FromFile' Pin
jasonalien4-Sep-14 2:04
jasonalien4-Sep-14 2:04 
AnswerRe: 'System.Windows.Controls.Image' does not contain a definition for 'FromFile' Pin
Richard Deeming4-Sep-14 2:31
mveRichard Deeming4-Sep-14 2:31 
AnswerRe: 'System.Windows.Controls.Image' does not contain a definition for 'FromFile' Pin
Deflinek4-Sep-14 2:44
Deflinek4-Sep-14 2:44 
GeneralRe: 'System.Windows.Controls.Image' does not contain a definition for 'FromFile' Pin
jasonalien4-Sep-14 2:47
jasonalien4-Sep-14 2:47 
GeneralRe: 'System.Windows.Controls.Image' does not contain a definition for 'FromFile' Pin
Deflinek4-Sep-14 2:54
Deflinek4-Sep-14 2:54 
AnswerRe: 'System.Windows.Controls.Image' does not contain a definition for 'FromFile' Pin
Swinkaran4-Sep-14 19:58
professionalSwinkaran4-Sep-14 19:58 
Questionhow to transfer the values of textboxes from one form to another form in datagridviw control without using database Pin
Member 110574883-Sep-14 18:56
Member 110574883-Sep-14 18:56 
AnswerRe: how to transfer the values of textboxes from one form to another form in datagridviw control without using database Pin
Ganesh KP3-Sep-14 19:19
professionalGanesh KP3-Sep-14 19:19 
AnswerRe: how to transfer the values of textboxes from one form to another form in datagridviw control without using database Pin
Pankaj Bhandari085-Sep-14 1:52
Pankaj Bhandari085-Sep-14 1:52 
QuestionNeed help with Expression Trees... Pin
SledgeHammer013-Sep-14 18:44
SledgeHammer013-Sep-14 18:44 
QuestionRe: Need help with Expression Trees... Pin
Richard Deeming4-Sep-14 1:23
mveRichard Deeming4-Sep-14 1:23 
AnswerRe: Need help with Expression Trees... Pin
SledgeHammer014-Sep-14 4:58
SledgeHammer014-Sep-14 4:58 
AnswerRe: Need help with Expression Trees... Pin
SledgeHammer014-Sep-14 8:30
SledgeHammer014-Sep-14 8:30 
GeneralRe: Need help with Expression Trees... Pin
Richard Deeming4-Sep-14 8:39
mveRichard Deeming4-Sep-14 8:39 
GeneralRe: Need help with Expression Trees... Pin
SledgeHammer014-Sep-14 10:19
SledgeHammer014-Sep-14 10:19 
AnswerRe: Need help with Expression Trees... Pin
Eddy Vluggen4-Sep-14 5:14
professionalEddy Vluggen4-Sep-14 5:14 
GeneralRe: Need help with Expression Trees... Pin
SledgeHammer014-Sep-14 7:29
SledgeHammer014-Sep-14 7:29 
QuestionFramework Update On a Soution Pin
wonder-FOOL3-Sep-14 10:21
wonder-FOOL3-Sep-14 10:21 
AnswerRe: Framework Update On a Soution Pin
Kornfeld Eliyahu Peter3-Sep-14 10:56
professionalKornfeld Eliyahu Peter3-Sep-14 10:56 
Questionwcf object serialization without datacontract/datamemember attributes strange behavior Pin
impeham3-Sep-14 2:35
impeham3-Sep-14 2:35 
AnswerRe: wcf object serialization without datacontract/datamemember attributes strange behavior Pin
Gerry Schmitz3-Sep-14 10:24
mveGerry Schmitz3-Sep-14 10:24 
I think certain kinds of "advice" without reference to the actual documentation is worthless (as in this case).

If one consults the actual documentation (help) re: "Data Contracts" it notes that:

"All .NET Framework primitive types, such as integers and strings, as well as certain types treated as primitives, such as DateTime and XmlElement, can be serialized with no other preparation and are considered as having default data contracts."

and

"New complex types that you create must have a data contract defined for them to be serializable."

I would say that your "Members" property is NOT a "primitive" type and therefore must have a "data contract".

(The SO example conveniently only shows primitive types).
Questionviewing photo from MySQL Pin
Jassim Rahma3-Sep-14 0:58
Jassim Rahma3-Sep-14 0: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.