Sunday, 9 October 2016

WHY YOU DON’T NEED THE “USING” STATEMENTS IN ITERATING THROUGH LINQ QUERIES WITH FOREACH LOOP



WHY YOU DON’T NEED THE “USING” STATEMENTS IN  ITERATING THROUGH LINQ QUERIES WITH FOREACH LOOP.
If you are using linq-sql queries you don’t need to open and close the database.
This is one of the reasons why!
Foreach loop implements the IDisposable Interface.
Here is the backend view of what for each loop does.



Monday, 3 October 2016

Simple way to find maximum number in an array using C#

Simple way to find maximum number in chsarp  

I made this video to show you how to find the maximum number. click the link above or bellow to watch.

Simple way to find maximum number in chsarp