Click here to Skip to main content
16,008,942 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to write octa numbers Pin
PIEBALDconsult22-Jan-09 19:24
mvePIEBALDconsult22-Jan-09 19:24 
AnswerRe: How to write octa numbers [modified] Pin
Luc Pattyn22-Jan-09 21:18
sitebuilderLuc Pattyn22-Jan-09 21:18 
JokeRe: How to write octa numbers Pin
CPallini23-Jan-09 1:40
mveCPallini23-Jan-09 1:40 
AnswerRe: How to write octa numbers Pin
Luc Pattyn23-Jan-09 2:02
sitebuilderLuc Pattyn23-Jan-09 2:02 
GeneralRe: How to write octa numbers Pin
CPallini23-Jan-09 2:09
mveCPallini23-Jan-09 2:09 
GeneralRe: How to write octa numbers Pin
PIEBALDconsult23-Jan-09 6:24
mvePIEBALDconsult23-Jan-09 6:24 
GeneralRe: How to write octa numbers Pin
PIEBALDconsult23-Jan-09 4:29
mvePIEBALDconsult23-Jan-09 4:29 
AnswerRe: How to write octa numbers [modified] Pin
Luc Pattyn23-Jan-09 4:48
sitebuilderLuc Pattyn23-Jan-09 4:48 
Actually, binary operators is a misnomer IMO; it really are bit-level operators meaning all the bits have independent meaning and behavior, there is no link to base 2 there.

I would not mind C# supporting binary and octal literals, hence also a convention to indicate those bases; and support for it in TryParse and ToString.

However I would very rarely use it; octal is thing of the past; some instruction sets got described in octal (e.g. PDP8 and PDP11), which looked OK at the time mainly because they had 8 registers so it was a signle digit that chose the register).

Binary notation tends to lack compactness; with a comma every 4 bits, an Int32 would take 39 characters.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

Good riddance W


modified on Friday, June 10, 2011 12:05 PM

GeneralRe: How to write octa numbers Pin
PIEBALDconsult23-Jan-09 5:20
mvePIEBALDconsult23-Jan-09 5:20 
AnswerRe: How to write octa numbers [modified] Pin
Luc Pattyn23-Jan-09 5:27
sitebuilderLuc Pattyn23-Jan-09 5:27 
AnswerRe: How to write octa numbers Pin
dan!sh 22-Jan-09 21:19
professional dan!sh 22-Jan-09 21:19 
AnswerRe: How to write octa numbers Pin
musefan22-Jan-09 22:31
musefan22-Jan-09 22:31 
GeneralI think your function is 'ugly' Pin
CPallini23-Jan-09 1:51
mveCPallini23-Jan-09 1:51 
GeneralRe: I think your function is 'ugly' [modified] Pin
PIEBALDconsult23-Jan-09 8:28
mvePIEBALDconsult23-Jan-09 8:28 
GeneralRe: I think your function is 'ugly' Pin
CPallini23-Jan-09 10:55
mveCPallini23-Jan-09 10:55 
GeneralRe: I think your function is 'ugly' Pin
PIEBALDconsult23-Jan-09 12:50
mvePIEBALDconsult23-Jan-09 12:50 
AnswerRe: How to write octa numbers [modified] Pin
Luc Pattyn23-Jan-09 1:59
sitebuilderLuc Pattyn23-Jan-09 1:59 
GeneralRe: How to write octa numbers [modified] Pin
PIEBALDconsult23-Jan-09 5:22
mvePIEBALDconsult23-Jan-09 5:22 
GeneralRe: How to write octa numbers Pin
musefan26-Jan-09 0:31
musefan26-Jan-09 0:31 
AnswerRe: How to write octa numbers Pin
DaveyM6923-Jan-09 0:11
professionalDaveyM6923-Jan-09 0:11 
Questioncreating dll Pin
lawrenceinba22-Jan-09 17:58
lawrenceinba22-Jan-09 17:58 
AnswerRe: creating dll Pin
PIEBALDconsult22-Jan-09 18:54
mvePIEBALDconsult22-Jan-09 18:54 
GeneralRe: creating dll Pin
Erdinc277-Oct-10 22:20
Erdinc277-Oct-10 22:20 
GeneralRe: creating dll Pin
PIEBALDconsult8-Oct-10 3:05
mvePIEBALDconsult8-Oct-10 3:05 
GeneralRe: creating dll Pin
Erdinc278-Oct-10 3:20
Erdinc278-Oct-10 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.