Recently bought a HC_SR04 sensor for my Arduino and testing it with NewPing library. Main problem was wiring because, I’m using Arduino Nano and there is no internet resources available on how to wire this. AdvertisementsRead More Testing Ultrasonic Sensor with Arduino Nano
It has been a buzz word for some intermediate level C# developers, ‘Dependency Injection’ is sometimes really hard to understand because we couldn’t understand the need for it. In simple words, think about the scenario where you are developing an application which saves some data in a file and that file handling. You might code […]Read More C# : Dependency Injection, Simplified
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
Its was 2004, when I was started to study Pascal lang. I was a better code writer (remember, those days, we write code first on a book, then we re-write on a MS-DOS machine and compile it) and one day our instructor asked us to write a program to calculate average marks of the students. […]Read More Variable Parameters, a forgotten classic
Lots of confusion among the people on who to vote. Specially in my Akkaraipattu because a well known politician is campaigning in a place where most people hate but still people want him. When I was thinking about this, I had an idea. Human make mistake but computers not. So what if let us give a […]Read More The 2015 General Election, Let The Board Decide
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.