In today’s day and age we no longer keep our files and resources on one computer. I have 3 laptops, 2 smart phone and tablet. I have been looking for a good intuitive service which can share all my bookmarks across all these devices. Finally I found pocket, this app is amazing. These guys were previously known as “Read it later”. They have amazing iphone, ipad app and very cool chrome plug-in.
In my daily routine, I use C# as the main language to code. Those from C or C++ world may know what I am talking about.
Try this in your C# code
bool flag1 = true;
if(flag1 = false)
Technically this should give you error (Tested in VS 2010, Framework 4.0) but it does not. Instead of comparing flag1 to false , code will assign false value to flag1. This will always be true and visual studio compiler will never give you error. Note: This is only true for Boolean values.
This code will always give you compile time error so there is no scope of accidental assignment error.
Microsoft announces “Surface” tablet. I got the sense from Engadget’s blog that this tablet’s cover is a keyboard (cool!!) and the tablet background changes to whatever color keyboard you attach. That is neat :)