Real world software uses concurrency. As you know concurrency has several advantages, main thing is it simulates several things in one time concept. .NET gives three ways for the developers to achieve concurrency while we write code. They are: Thread ThreadPool Task Thread These are very low level elements of concurrency. They have their own […]Read More C# : Understanding Threads and ThreadPools
After this post, someone contacted me personally and said he is very impressed with this article personally this is the first time someone call or email me for one of my blog post it sounds great right. Last friday, it started in a perfect manner. I got up and got a notification in Viber, same […]Read More C#: a = a + b; and a += b; Are Two Different Things
We all know and have experienced the importance we have for castings in C#. Its just essential if you want to build any system that takes inputs, process and give output. What a basic computer does is the same functionality right? so logically we need casting EVERYWHERE in computing. Even you can argue, “I am […]Read More C#: Casting and Type Checking
Localization is a very good option an app can provide to users to increase the UX. Most apps from enterprise level to the very basic level, localization is very impotent if we need to target more audience with variety of cultures. Microsoft .NET framework provides us a concept called Satellite Assemblies they contains resource files […]Read More Quick and Easy localization with Xamarin
Delegates, a main question when it comes to C# interviews. When I faced the internship interview at IFS last October I was asked a question “What is a delegate” I said “It is a way to achieve thread safety”, actually I used delegates in my Imagine cup project in 2013 but when I faced that […]Read More Delegates in C#, simplified.
Blogging after a long time actually, I was bit busy with last exams and migrating to Colombo, Sri Lanka. I have a good news for you guys that I have joined IFS, Sri Lanka as an undergraduate intern that valid from 11th March to 19th June. Here, at IFS, this has a tremendous work place setup […]Read More Constructor chaining and some other good tips with constructors
Twitter’s xAuth is an exciting option which is not available for web based applications but available for desktop and mobile apps that uses Twitter SDK where standard web OAuth flow or PIN-code out-of-band flow is not an option. xAuth access is restricted to approved applications and if your present/past/future app needs it, request if from […]Read More Make Xamarin apps that support Twitter xAuth