Browse by Tags

All Tags » C# » .net (RSS)

I am no more

I have moved my blog to and I am no longer blogging here. Please update your readers and subscribe to the feed on the new site.
Posted by omar
Filed under: , ,

C# with keyword equivalent

There’s no with keyword in C#, like Visual Basic. So you end up writing code like this: this . StatusProgressBar . IsIndeterminate = false ; this . StatusProgressBar . Visibility = Visibility . Visible ; this . StatusProgressBar . Minimum = 0 ; this ...
Posted by omar | 17 comment(s)
Filed under: , ,

Do Unit Test and Integration Test from same test code using Conditional Compilation

You usually write unit test and integration test code separately using different technologies. For example, for unit test, you use some mocking framework like Moq to do the mocking. For integration test, you do not use any mocking, just some test classes...
Posted by omar | 6 comment(s)
Filed under: , , , ,

Is your computer running slow, battery running out quickly?

If your computer is running hot or battery running out quickly then it is most likely due to some application or process consuming high CPU or memory. If you keep running applications for a long time, for example, Outlook, then it continues to grow in...
Posted by omar | 1 comment(s)
Filed under: , , ,