© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
15 replies
Nyfos

✅ What is DataContractSerializer capable of serializing?

Hi! cat_hi

I'm currently using
DataContractSerializer.WriteObject(...)
DataContractSerializer.WriteObject(...)
and
DataContractSerializer.ReadObject(...)
DataContractSerializer.ReadObject(...)
to save and load my game data.

I was wondering if there was a list of all serializable types somewhere. It would be perfect if I was able to serialize things like Dictionaries, Vector2/Vector3, instead of converting them to multiple arrays...

Thank you for your help!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

is linq capable of utilizing AVX1?
C#CC# / help
6mo ago
✅ DataContractSerializer with polymorphisme
C#CC# / help
2y ago
❔ Optimize Serializing of the List
C#CC# / help
4y ago
✅ Csharp serializing
C#CC# / help
3y ago