Click here to Skip to main content
15,920,896 members
Home / Discussions / C#
   

C#

 
QuestionFraction calculator problem Pin
Member 982953614-Dec-13 18:25
Member 982953614-Dec-13 18:25 
AnswerRe: Fraction calculator problem Pin
OriginalGriff14-Dec-13 21:54
mveOriginalGriff14-Dec-13 21:54 
AnswerRe: Fraction calculator problem Pin
pzfischer14-Dec-13 22:46
pzfischer14-Dec-13 22:46 
QuestionHow To change mouse cursor Pin
delphix514-Dec-13 10:55
delphix514-Dec-13 10:55 
GeneralRe: How To change mouse cursor Pin
Ron Beyer14-Dec-13 12:00
professionalRon Beyer14-Dec-13 12:00 
GeneralRe: How To change mouse cursor Pin
delphix514-Dec-13 12:14
delphix514-Dec-13 12:14 
AnswerRe: How To change mouse cursor Pin
BillWoodruff14-Dec-13 21:44
professionalBillWoodruff14-Dec-13 21:44 
GeneralRe: How To change mouse cursor Pin
delphix514-Dec-13 22:53
delphix514-Dec-13 22:53 
GeneralRe: How To change mouse cursor Pin
BobJanova16-Dec-13 0:12
BobJanova16-Dec-13 0:12 
QuestionRetrieve all the controls of any window with their types and value Pin
delphix514-Dec-13 5:59
delphix514-Dec-13 5:59 
AnswerRe: Retrieve all the controls of any window with their types and value Pin
Richard MacCutchan14-Dec-13 6:58
mveRichard MacCutchan14-Dec-13 6:58 
GeneralRe: Retrieve all the controls of any window with their types and value Pin
delphix514-Dec-13 7:19
delphix514-Dec-13 7:19 
GeneralRe: Retrieve all the controls of any window with their types and value Pin
Richard MacCutchan14-Dec-13 7:28
mveRichard MacCutchan14-Dec-13 7:28 
GeneralRe: Retrieve all the controls of any window with their types and value Pin
delphix514-Dec-13 8:07
delphix514-Dec-13 8:07 
GeneralRe: Retrieve all the controls of any window with their types and value Pin
Richard MacCutchan14-Dec-13 21:33
mveRichard MacCutchan14-Dec-13 21:33 
QuestionVB Conversion: 'ReadOnly' Error in VB Pin
Sonhospa14-Dec-13 3:48
Sonhospa14-Dec-13 3:48 
AnswerRe: VB Conversion: 'ReadOnly' Error in VB Pin
Ron Beyer14-Dec-13 4:05
professionalRon Beyer14-Dec-13 4:05 
GeneralRe: VB Conversion: 'ReadOnly' Error in VB Pin
Sonhospa14-Dec-13 6:03
Sonhospa14-Dec-13 6:03 
GeneralRe: VB Conversion: 'ReadOnly' Error in VB Pin
Ron Beyer14-Dec-13 10:05
professionalRon Beyer14-Dec-13 10:05 
GeneralRe: VB Conversion: 'ReadOnly' Error in VB Pin
Sonhospa14-Dec-13 20:25
Sonhospa14-Dec-13 20:25 
GeneralRe: VB Conversion: 'ReadOnly' Error in VB Pin
BobJanova16-Dec-13 0:37
BobJanova16-Dec-13 0:37 
GeneralRe: VB Conversion: 'ReadOnly' Error in VB Pin
Ron Beyer16-Dec-13 3:15
professionalRon Beyer16-Dec-13 3:15 
GeneralRe: VB Conversion: 'ReadOnly' Error in VB Pin
BobJanova16-Dec-13 4:48
BobJanova16-Dec-13 4:48 
List initialisers are actually really nice, particularly in writing unit tests or setting up in-memory test data.

Yes, they can be used for scoping, but only when they surround entire statements. That's rarely useful as what you'd want to use as scope regions are usually already in a block (e.g. if, foreach etc). I think case statement groups are the only place I've found that capability useful.
Questionhow snapshot object(The object can be window, control, windows shortcut menu etc) Pin
delphix513-Dec-13 23:49
delphix513-Dec-13 23:49 
AnswerRe: how snapshot object(The object can be window, control, windows shortcut menu etc) Pin
Ravi Bhavnani14-Dec-13 5:33
professionalRavi Bhavnani14-Dec-13 5:33 

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.