Skip to content

Righthand Blog

About .NET/C#, Xamarin, Flutter and other fun technologies

  • Righthand Dataset Debugger Visualizer
.net / C#

About in parameter modifier on value type, properties and defensive copy

Posted on: May 25, 2018March 29, 2020

in parameter modifier was introduced in C# 7.2. It lets you pass (value) types by reference but at the same time protect you against modifying the actual instance. […]

.net / Announcement / C# / Docker / Linux / Mono

Mono, Docker, 3.14, WebAPI on NTK 2016

Posted on: May 13, 2016March 29, 2020

This year I’ll be presenting at Microsoft’s NT Konferenca as I do every year. As the topic I’ve picked my experience of using Docker I gathered from a […]

C#

Strong typing DisplayAttribute reference to Resources

Posted on: March 30, 2016March 29, 2020

Let’s say there is a decorated member with DisplayAttribute in code, i.e.: public enum SomeEnum { [Display(Name = “ResourceKey”, ResourceType=typeof(Resource)] SomeValue } That’s all right except for one […]

C#

Use async keyword only when required

Posted on: March 5, 2016March 29, 2020

While async keyword is very useful it shouldn’t be used when it isn’t required. Imagine this method public async Task DoSomethingAsync() { await Task.Delay(1000); } The method works […]

.net / C# / Linux / Mono / ORM

Porting a .net application to Linux/Mono/MonoDevelop

Posted on: December 13, 2015March 29, 2020

I have a small .net application that I wanted to run on Linux since it is a deamon/service sort of app. Basically is an app that peridically retrieves […]

C#

Thinking about delayed getters on properties in C#6.0 or after that

Posted on: October 2, 2014March 29, 2020

Here is a typical scenario where one postpones property value creation until the property getter is accessed: private SomeType something; public SomeType Something { get { if (something […]

Niche Blog by Fahim Murshed