using file.
-
Hi, why we need to use generic class in c#. reply me, thanx in advance....
-
Hi, why we need to use generic class in c#. reply me, thanx in advance....
Type safety. Most of the casts which can cause errors are noticed by the compiler, not the runtime. This means that you will find it more difficult to compile (you'll get either warnings or errors.) Because of this, you won't need to do as many casts. These mean that you spend less time casting, and have to catch fewer exceptions. So speed is also a factor.
-
Type safety. Most of the casts which can cause errors are noticed by the compiler, not the runtime. This means that you will find it more difficult to compile (you'll get either warnings or errors.) Because of this, you won't need to do as many casts. These mean that you spend less time casting, and have to catch fewer exceptions. So speed is also a factor.
Good answer - can I throw in readability? It does make the resulting code easier to understand as well (or I think so).
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
Good answer - can I throw in readability? It does make the resulting code easier to understand as well (or I think so).
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones