Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
QuestionHow to Do Implementation of this questions Please Pin
Member 131757266-May-17 11:08
Member 131757266-May-17 11:08 
AnswerRe: How to Do Implementation of this questions Please Pin
Mycroft Holmes6-May-17 14:00
professionalMycroft Holmes6-May-17 14:00 
AnswerRe: How to Do Implementation of this questions Please Pin
Pete O'Hanlon6-May-17 22:00
mvePete O'Hanlon6-May-17 22:00 
Questionanother way Type 'short is short-shrifted, but not short-shifted Pin
BillWoodruff5-May-17 1:10
professionalBillWoodruff5-May-17 1:10 
AnswerRe: another way Type 'short is short-shrifted, but not short-shifted Pin
Jochen Arndt5-May-17 1:32
professionalJochen Arndt5-May-17 1:32 
AnswerRe: another way Type 'short is short-shrifted, but not short-shifted Pin
Pete O'Hanlon5-May-17 1:35
mvePete O'Hanlon5-May-17 1:35 
AnswerRe: another way Type 'short is short-shrifted, but not short-shifted Pin
harold aptroot5-May-17 3:05
harold aptroot5-May-17 3:05 
GeneralRe: another way Type 'short is short-shrifted, but not short-shifted Pin
BillWoodruff5-May-17 4:54
professionalBillWoodruff5-May-17 4:54 
Thanks, Harold; that's just the type of informative response I was hoping for !

It intrigues me why the BitVector32.Section designers made the c'tor size parameter a signed short, limiting you to 0x7FFF: there is no barrier to using the entire 32 bits; for example:
BitVector32.Section s0 = BitVector32.CreateSection(0xFF);
BitVector32.Section s1 = BitVector32. CreateSection(0xFF, s0);
BitVector32.Section s2 = BitVector32.CreateSection(0xFF, s1);
BitVector32.Section s3 = BitVector32.CreateSection(0xFF, s2);

BitVector32 BvValue = new BitVector32();

// set all 32 bits
BvValue[s0] = 0xFFFF;
BvValue[s1] = 0xFFFF;
BvValue[s2] = 0xFFFF;
BvValue[s3] = 0xFFFF;

«When I consider my brief span of life, swallowed up in an eternity before and after, the little space I fill, and even can see, engulfed in the infinite immensity of spaces of which I am ignorant, and which know me not, I am frightened, and am astonished at being here rather than there; for there is no reason why here rather than there, now rather than then.» Blaise Pascal

GeneralRe: another way Type 'short is short-shrifted, but not short-shifted Pin
harold aptroot5-May-17 5:19
harold aptroot5-May-17 5:19 
GeneralRe: another way Type 'short is short-shrifted, but not short-shifted Pin
BillWoodruff5-May-17 7:44
professionalBillWoodruff5-May-17 7:44 
QuestionMessage Closed Pin
2-May-17 6:44
SHALCHAUHAN2-May-17 6:44 
AnswerRe: Regarding Website Pin
NotPolitcallyCorrect2-May-17 6:54
NotPolitcallyCorrect2-May-17 6:54 
AnswerRe: Regarding Website Pin
User 41802543-May-17 2:56
User 41802543-May-17 2:56 
QuestionLink DLL at runtime Pin
icristut2-May-17 1:36
icristut2-May-17 1:36 
AnswerRe: Link DLL at runtime Pin
Richard MacCutchan2-May-17 2:22
mveRichard MacCutchan2-May-17 2:22 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 2:29
icristut2-May-17 2:29 
GeneralRe: Link DLL at runtime Pin
Richard MacCutchan2-May-17 2:35
mveRichard MacCutchan2-May-17 2:35 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 4:29
icristut2-May-17 4:29 
GeneralRe: Link DLL at runtime Pin
Pete O'Hanlon2-May-17 4:38
mvePete O'Hanlon2-May-17 4:38 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 4:44
icristut2-May-17 4:44 
GeneralRe: Link DLL at runtime Pin
Dave Kreskowiak2-May-17 4:16
mveDave Kreskowiak2-May-17 4:16 
AnswerRe: Link DLL at runtime Pin
ZurdoDev2-May-17 4:38
professionalZurdoDev2-May-17 4:38 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 4:41
icristut2-May-17 4:41 
QuestionForm Designer Pin
Mangesh Sachane2-May-17 1:15
Mangesh Sachane2-May-17 1:15 
AnswerRe: Form Designer Pin
Pete O'Hanlon2-May-17 1:35
mvePete O'Hanlon2-May-17 1:35 

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.