167 Views
I was refactoring some code with resharper and it suggested me that I should convert my if else into the ternary operator. So I thought that really there is a performance difference between if-else and ternary operator? Let’s check with an example. Following is a code for that.
0 comments