Hi folks!
Is there a notation of a byte literal? E.g. now I need to write this:
MicroIdentity id = new MicroIdentity((byte)7);
I’d like to remove the cast to (byte). Something similar to float literals like 1.23f
Hi folks!
Is there a notation of a byte literal? E.g. now I need to write this:
MicroIdentity id = new MicroIdentity((byte)7);
I’d like to remove the cast to (byte). Something similar to float literals like 1.23f
We just had this discussion in another thread, actually.
If you’re looking for an equivalent to 17.0f (e.g. 17b), the answer is no.