Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

how to exit from a c# program if condition is not fullfilled

$
0
0

I have this condition i am writing in a WCF.

if (condition)
    {<do stuff>}
elseif(condition1)
   {<do sm stuff>}
else
   {exit}

How do I implement this exit or in other words, do nothing and finish the call?


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>