Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
AnswerRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 3:04
professionalEddy Vluggen1-Apr-14 3:04 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff1-Apr-14 4:47
mveOriginalGriff1-Apr-14 4:47 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Rob Philpott1-Apr-14 5:18
Rob Philpott1-Apr-14 5:18 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff1-Apr-14 5:38
mveOriginalGriff1-Apr-14 5:38 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Rob Philpott1-Apr-14 5:46
Rob Philpott1-Apr-14 5:46 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 6:44
professionalEddy Vluggen1-Apr-14 6:44 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Rob Philpott1-Apr-14 6:51
Rob Philpott1-Apr-14 6:51 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 9:11
professionalEddy Vluggen1-Apr-14 9:11 
Add an attribute to that single method;
C#
[DebuggerStepThrough]
static bool TryFail()
{
    try
    {
        throw new NotImplementedException();
    }
    catch (NotImplementedException)
    {
        Debug.WriteLine("Caught expected NotImplementedException");
        return false;
    }

    return true;
}


Rob Philpott wrote:
Yes, I can ignore that particular exception but I'd rather not.
Did you mean "ignore each instance of that exception", or "that particular catch in that specific method"?
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 6:56
professionalEddy Vluggen1-Apr-14 6:56 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff1-Apr-14 7:56
mveOriginalGriff1-Apr-14 7:56 
GeneralRe: Multiple try blocks in c# 2.0 Pin
BobJanova1-Apr-14 23:29
BobJanova1-Apr-14 23:29 
AnswerRe: Multiple try blocks in c# 2.0 Pin
Deflinek1-Apr-14 5:15
Deflinek1-Apr-14 5:15 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff1-Apr-14 8:25
mveOriginalGriff1-Apr-14 8:25 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Deflinek1-Apr-14 23:51
Deflinek1-Apr-14 23:51 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff2-Apr-14 0:04
mveOriginalGriff2-Apr-14 0:04 
AnswerRe: Multiple try blocks in c# 2.0 Pin
GuyThiebaut2-Apr-14 2:20
professionalGuyThiebaut2-Apr-14 2:20 
QuestionHow to check a field/property is existing in Win32_DiskDrive ? Pin
taibc1-Apr-14 0:30
taibc1-Apr-14 0:30 
AnswerRe: How to check a field/property is existing in Win32_DiskDrive ? Pin
Simon_Whale1-Apr-14 1:18
Simon_Whale1-Apr-14 1:18 
GeneralRe: How to check a field/property is existing in Win32_DiskDrive ? Pin
taibc1-Apr-14 15:47
taibc1-Apr-14 15:47 
AnswerRe: How to check a field/property is existing in Win32_DiskDrive ? Pin
Wayne Gaylard1-Apr-14 1:21
professionalWayne Gaylard1-Apr-14 1:21 
GeneralRe: How to check a field/property is existing in Win32_DiskDrive ? Pin
taibc1-Apr-14 15:47
taibc1-Apr-14 15:47 
GeneralRe: How to check a field/property is existing in Win32_DiskDrive ? Pin
Simon_Whale1-Apr-14 22:40
Simon_Whale1-Apr-14 22:40 
GeneralRe: How to check a field/property is existing in Win32_DiskDrive ? Pin
taibc2-Apr-14 17:59
taibc2-Apr-14 17:59 
Questionhow i can remove the current row..? the record is not yet saved on the database..the remove button is exist in every row of a repeater.. Pin
Member 1058077031-Mar-14 23:14
Member 1058077031-Mar-14 23:14 
QuestionC# new tab dynamic Pin
antrock10131-Mar-14 23:09
antrock10131-Mar-14 23:09 

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.