Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generating random number of fixed-size Pin
Nick Seng14-Apr-03 23:53
Nick Seng14-Apr-03 23:53 
GeneralRe: Generating random number of fixed-size Pin
Nick Seng14-Apr-03 23:43
Nick Seng14-Apr-03 23:43 
GeneralRe: Generating random number of fixed-size Pin
Gerry15-Apr-03 0:15
Gerry15-Apr-03 0:15 
GeneralC# and excel Pin
Marix14-Apr-03 20:37
Marix14-Apr-03 20:37 
GeneralRe: C# and excel Pin
Nick Seng14-Apr-03 23:38
Nick Seng14-Apr-03 23:38 
GeneralRe: C# and excel Pin
Chris Austin15-Apr-03 5:16
Chris Austin15-Apr-03 5:16 
GeneralPowering through statements Pin
Adam Turner14-Apr-03 14:28
Adam Turner14-Apr-03 14:28 
GeneralRe: Powering through statements Pin
Jim Stewart14-Apr-03 17:43
Jim Stewart14-Apr-03 17:43 
How about:
C#
try //Outside try block to handle initialization and leave the array visible	
{
    int[] manyInts = new int[4];

    try {manyInts[0] = 1;} 
    catch {/*Empty catch block does nothing*/}

    try {manyInts[1] = 1;} 
    catch {}

    try {manyInts[2] = 1;}
    catch {}

    try {manyInts[3] = 1;}
    catch {}

    try {manyInts[4] = 1;}
    catch {}

    try {manyInts[5] = 1;}
    catch {}
}
catch {}

...Powerful kludgy - but should work

α.γεεκ

Fortune passes everywhere.
Duke Leto Atreides


GeneralRe: Powering through statements Pin
Adam Turner14-Apr-03 17:49
Adam Turner14-Apr-03 17:49 
GeneralRe: Powering through statements Pin
Jim Stewart14-Apr-03 18:07
Jim Stewart14-Apr-03 18:07 
GeneralShell/OLE Interface Definitions Pin
J. Dunlap14-Apr-03 14:16
J. Dunlap14-Apr-03 14:16 
GeneralRe: Shell/OLE Interface Definitions Pin
James T. Johnson14-Apr-03 17:13
James T. Johnson14-Apr-03 17:13 
GeneralRe: Shell/OLE Interface Definitions Pin
J. Dunlap14-Apr-03 18:33
J. Dunlap14-Apr-03 18:33 
QuestionInterop Strong Names? Pin
Steven Behnke14-Apr-03 12:33
Steven Behnke14-Apr-03 12:33 
AnswerRe: Interop Strong Names? Pin
Steven Behnke14-Apr-03 12:48
Steven Behnke14-Apr-03 12:48 
General.NET 2003 and C# - Need to deploy app... Pin
ekuhner14-Apr-03 12:12
ekuhner14-Apr-03 12:12 
GeneralRe: .NET 2003 and C# - Need to deploy app... Pin
Steven Behnke14-Apr-03 12:49
Steven Behnke14-Apr-03 12:49 
GeneralRe: .NET 2003 and C# - Need to deploy app... Pin
Chris Austin14-Apr-03 12:53
Chris Austin14-Apr-03 12:53 
GeneralReturn S_FALSE Pin
J. Dunlap14-Apr-03 11:29
J. Dunlap14-Apr-03 11:29 
GeneralRe: Return S_FALSE Pin
J. Dunlap14-Apr-03 14:17
J. Dunlap14-Apr-03 14:17 
GeneralBitwise AND Pin
J. Dunlap14-Apr-03 10:47
J. Dunlap14-Apr-03 10:47 
GeneralRe: Bitwise AND Pin
J. Dunlap14-Apr-03 10:59
J. Dunlap14-Apr-03 10:59 
GeneralRe: Bitwise AND Pin
monrobot1314-Apr-03 11:32
monrobot1314-Apr-03 11:32 
GeneralRe: Bitwise AND Pin
J. Dunlap14-Apr-03 11:55
J. Dunlap14-Apr-03 11:55 
GeneralRe: Bitwise AND Pin
James T. Johnson14-Apr-03 14:33
James T. Johnson14-Apr-03 14: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.