The difference between & and && operators

Here is a bit of code that was failing: if (product!=null & !string.IsNullOrEmpty(product.ProductNotes)) If you look closely you can see it uses just the single ampersand operator, not the usual double ampersand operator. There is a significant function difference between the two that under normal circumstances may not be obvious when performing logic operations on business […]