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

C#

 
AnswerRe: Self referencing loop detected for property with type ... Pin
Dave Kreskowiak22-Apr-24 13:43
mveDave Kreskowiak22-Apr-24 13:43 
GeneralRe: Self referencing loop detected for property with type ... Pin
AtaChris22-Apr-24 21:28
AtaChris22-Apr-24 21:28 
GeneralRe: Self referencing loop detected for property with type ... Pin
Dave Kreskowiak23-Apr-24 4:48
mveDave Kreskowiak23-Apr-24 4:48 
QuestionHow to print the property values of an object to a file/console ? Pin
AtaChris22-Apr-24 8:51
AtaChris22-Apr-24 8:51 
AnswerRe: How to print the property values of an object to a file/console ? Pin
Dave Kreskowiak22-Apr-24 13:49
mveDave Kreskowiak22-Apr-24 13:49 
GeneralRe: How to print the property values of an object to a file/console ? Pin
AtaChris22-Apr-24 21:23
AtaChris22-Apr-24 21:23 
GeneralRe: How to print the property values of an object to a file/console ? Pin
Pete O'Hanlon22-Apr-24 22:44
mvePete O'Hanlon22-Apr-24 22:44 
GeneralRe: How to print the property values of an object to a file/console ? Pin
Dave Kreskowiak23-Apr-24 4:10
mveDave Kreskowiak23-Apr-24 4:10 
This should have been in your original question. What you're looking for is called "serialization". This is the process by which an object is written to a form that can transmitted and read by a matched deserializer and can be accomplished using JSON, XML, and Binary serializers.

My previous answer still stands for most serialization operations, you still need the public properties, but you do not need to override the ToString method.

You can read up on it at Serialization - .NET | Microsoft Learn[^]

QuestionHow to identify Key Combinations ? Pin
AtaChris15-Apr-24 6:26
AtaChris15-Apr-24 6:26 
AnswerRe: How to identify Key Combinations ? Pin
Dave Kreskowiak15-Apr-24 6:35
mveDave Kreskowiak15-Apr-24 6:35 
QuestionHow to send property values via eventhandler ? Pin
AtaChris7-Apr-24 7:41
AtaChris7-Apr-24 7:41 
AnswerRe: How to send property values via eventhandler ? Pin
OriginalGriff7-Apr-24 20:23
mveOriginalGriff7-Apr-24 20:23 
GeneralRe: How to send property values via eventhandler ? Pin
AtaChris15-Apr-24 6:46
AtaChris15-Apr-24 6:46 
GeneralRe: How to send property values via eventhandler ? Pin
OriginalGriff15-Apr-24 19:09
mveOriginalGriff15-Apr-24 19:09 
QuestionRead information from serial port in Mathlab format Pin
Victor Gonzalez 20245-Apr-24 9:43
Victor Gonzalez 20245-Apr-24 9:43 
AnswerRe: Read information from serial port in Mathlab format Pin
Richard Andrew x645-Apr-24 11:01
professionalRichard Andrew x645-Apr-24 11:01 
GeneralRe: Read information from serial port in Mathlab format Pin
Victor Gonzalez 20245-Apr-24 12:26
Victor Gonzalez 20245-Apr-24 12:26 
AnswerRe: Read information from serial port in Mathlab format Pin
jschell5-Apr-24 12:20
jschell5-Apr-24 12:20 
GeneralRe: Read information from serial port in Mathlab format Pin
Victor Gonzalez 20245-Apr-24 12:28
Victor Gonzalez 20245-Apr-24 12:28 
GeneralRe: Read information from serial port in Mathlab format Pin
Richard MacCutchan5-Apr-24 22:44
mveRichard MacCutchan5-Apr-24 22:44 
GeneralRe: Read information from serial port in Mathlab format Pin
Victor Gonzalez 20245-Apr-24 23:22
Victor Gonzalez 20245-Apr-24 23:22 
GeneralRe: Read information from serial port in Mathlab format Pin
Richard MacCutchan5-Apr-24 23:41
mveRichard MacCutchan5-Apr-24 23:41 
GeneralRe: Read information from serial port in Mathlab format Pin
Luc Pattyn6-Apr-24 8:16
sitebuilderLuc Pattyn6-Apr-24 8:16 
GeneralRe: Read information from serial port in Mathlab format Pin
Victor Gonzalez 20247-Apr-24 1:12
Victor Gonzalez 20247-Apr-24 1:12 
GeneralRe: Read information from serial port in Mathlab format Pin
Luc Pattyn7-Apr-24 1:52
sitebuilderLuc Pattyn7-Apr-24 1:52 

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.