Y
Hacker News
new
|
ask
|
show
|
jobs
by
neonsunset
426 days ago
You can only do this with `unsafe { }` or `Unsafe.As/.BitCast`. Casts from/to `object` are type-safe even though may not be very user-friendly or good use of the type system in general.