Skip to content

Instantly share code, notes, and snippets.

@ohlawdie
Last active February 11, 2020 22:40
Show Gist options
  • Save ohlawdie/29c3a2298641949db4fa0234c9acb3d0 to your computer and use it in GitHub Desktop.
Save ohlawdie/29c3a2298641949db4fa0234c9acb3d0 to your computer and use it in GitHub Desktop.
Unchecked #cs2fs
namespace global
namespace ConsumerVehicleRegistration
type Car() =
member val Passengers = Unchecked.defaultof<int> with get, set
namespace CommercialRegistration
type DeliveryTruck() =
member val GrossWeightClass = Unchecked.defaultof<int> with get, set
namespace LiveryRegistration
type Taxi() =
member val Fares = Unchecked.defaultof<int> with get, set
type Bus() =
member val Capacity = Unchecked.defaultof<int> with get, set
member val Riders = Unchecked.defaultof<int> with get, set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment