The fact that the GetHashCode method returns the object address in a managed heap is a myth. This cannot be true because of its inconstancy. The garbage collector while compacting a hip shifts objects and thus changes all their addresses.
A .Net dynamic fake framework for creating all types of fake objects, mocks, stubs etc. Context-aware fluent interface guides the developer.
Build by Jon Yablonski
A resource that provides guidance for designing ethically humane digital products through patterns focused on user well-being.
… article covers the functions/methods naming good habits. Functions are the moving parts of the application, so having named them precisely increases the readability. The scope is to understand what the function does from its name, arguments list and the way it is invoked.
Employing functional programming concepts can improve the quality of your code. Though using functional-programming-inspired features [in C#] is not the same as programming in a pure functional language, like Haskell. Or even a hybrid language but with stronger emphasis on the functional side, like F#.
Ed Charbeneau wrote an excellent guide which explains writing functional programming in C# through an example use case.
Jeremy Hutchinson listed out series of tips to be more productive in Visual Studio.
I was not aware of tip #2 - $exception Pseudovariable - Viewing uncaptured exception while debugging. Visual studio has a pseudo variable
$exception in the debug mode which will hold the details of the last exception. To explore
$exception, let’s create a small project:
Put a breakpoint at line 13 and run above code. The code will throw an exception and pause the execution in catch block. Now here you can use
$exception variable to inspect exception details.
Here is a little ironic reflection on the 12 principles of Agile Manifesto.
Sometimes you need to know more information about various data types supports by your SQL Server version. Information like if the specific data type is searchable or not, or it’s maximum precision, or if it’s case sensitive or not.
sp_datatype_info system SP comes handy to retrieve such information.