I'm wondering what is the best way to represent a table that should contain those fields in C# bond format?
- string FirstName
- string LastName
- string Email
- bool Registered
- DateTime DateJoined
- char Gender
- List<string> Favorites
- string City
- string State
- unit16 Zip
- string Country
- List<string> FrequentPagesURLs
And I want to have something similar to that format
namespace MyProject
{
struct Key
{
0: required string Email;
}
struct Value
{
0: required string FirstName;
1: optional char Gender;
.
.
.
}
}
I'm not sure what is the best way to represent char
, DateTime
, and List<string>
in C# bond format to use them in creating table in Object store.