hogeschool / INFDEV02-3

Statically typed, polymorphic object oriented programming course at Hogeschool Rotterdam
MIT License
11 stars 14 forks source link

lecture1 slide28 #3

Open barld opened 8 years ago

barld commented 8 years ago

the range given for byte is from a signed byte the standard in C# is a unsigned byte

sbyte: https://msdn.microsoft.com/en-us/library/d86he86x.aspx byte: https://msdn.microsoft.com/en-us/library/5bdb6693(v=vs.140).aspx

Wiejeben commented 8 years ago

However in Java all types are signed (apart from char), so this is just be an exception for C#.