I'm looking for some guidance on how to split a string into object properties in C#, I'm struggling with how to do it.
For example I have a string of a filename like
Artist, Song, CreationDateTime
And I want to parse that into an object with properties of Artist
, Song
and CreationDateTime
.
What would be the most efficient method? I'm struggling past delimiting the string by a comma into an array. From there it then can't be assigned to the properties.