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 […]
Visual Studio / Xamarin
Posted on:
Fixing connection problems between Visual Studio and Mac when building iOS applications
I’ve been digging a bit into problems of connection between Visual Studio (Xamarin.iOS) and a Mac and wanted to share a few tips here. It all started with […]
C#
Posted on:
Use async keyword only when required
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 […]