1
Reply

What is short-circuiting?

Rehman Shahid

Rehman Shahid

6y
1.1k
0
Reply

    .net run time tries to find the requested result as earliest and returns it back the caller. This is called short-circuiting.

    Ex:-

    if(statement 1){
    return 1;
    }
    else if( statement 2){
    return 2;
    }
    else{
    return 3;
    }

    as soon as any statement expression is true , runtime returns that value as response and hence short-circuiting the request pipeline.