Showing posts with label C# Programming. Show all posts
Showing posts with label C# Programming. Show all posts

Friday, 30 August 2013

Charting Randomness


Introduction & Description: Coming shorty..

For a deeper understanding on all that has been mentioned above, please check out the 5 video links where I go through the demo in full detail.



Wednesday, 28 August 2013

Art of Recursion


Introduction & Description: Coming shorty..

For a deeper understanding on all that has been mentioned above, please check out the 7 video links where I go through the demo in full detail.

Sunday, 23 June 2013

LINQ Deferred Execution - Lazy Evaluation


Queries are executed in many ways. The types can be broadly classified into Deferred/Lazy Execution and Immediate Execution.

In this post, we’ll see how the type of execution can boost performance in LINQ.

Friday, 31 May 2013

StringBuilder vs String


In this post, we'll discuss the pros and cons of using the StringBuilder functionality over String, and vice versa.

We’ll go about what Immutability is, how run-time strings differ from compile-time ones, memory allocation for String & StringBuilder, and finally wrap up with the difference between Lists holding Immutable Reference Types & Lists holding Mutable Reference Types.


Tuesday, 30 April 2013

String Interning


The most used (and misused) data-type in most applications is the String! Their properties let us leverage on many aspects of coding.

Here, we’ll discuss about the way Strings are stored in the memory and how they can be allocated efficiently!


Monday, 1 April 2013

Reference Type and Value Type Variables


It always pays to know variable-types better. Some are mutable, and some are immutable, and what not!..

Here, we’ll perform an equality test on different types of variables using the == operator, Equals function, and the ReferenceEquals functionality.


Sunday, 31 March 2013

Stringed Numbers


Doing computation over numbers stored as strings can be challenging. Finding the sum or max among all numbers stored as strings would be easy, but sorting the “string” numbers without type-casting them to integer/double is tricky.

Here, we’ll see how Anonymous methods come to the rescue for sum & max operations and Sort & OrderBy functionality for sorting “string” numbers.


Monday, 25 March 2013

Effective Data Validation


Data Validation is a very important task to ensure discrepancies don’t creep-into when you make valuable information out of them.

Here, we’ll know how to ensure the correctness of data retrieved as strings that hold numbers in them.


Monday, 18 March 2013

Thread Safety


Multi-threaded applications give a big boost to Code’s Performance and Scalability. But often times we need to be careful while using Thread-unsafe collections in these scenarios.

Here, we’ll know how to ensure proper dynamic allocation of memory to thread-unsafe collections and to perform Thread-Safe updates in them.


Sunday, 17 March 2013

Array Resizing Optimization


Optimizing your C# code is fundamental for improving your Application's Performance and Scalability.

Here, we'll know the performance optimization involved when we explicitly specify an approximate size of the C# collection during its declaration.