To scroll a C# TextBox to the cursor/caret, it’s important that the TextBox is both visible and focused, then call the ScrollToCaret meth...
Read More
Easy Steps to Make GNOME 3 More Efficient
Few Linux desktops have brought about such controversy as GNOME 3. It’s been ridiculed, scorned, and hated since it was first release...
Read More
MVC Model Binding to List of Complex Objects
Recently, I had a requirement to create a form-based partial view in an MVC3 application that permitted a user to select multiple options ...
Read More
Microsoft Announces Windows 10
Today Microsoft officially unveiled the latest version of its traditional computer operating system, curiously called Windows 10. Touted...
Read More
How to Organize Your Linux File System for Clutter-Free Folders
Clean your Linux file system with Bleachbit. Linux is an incredibly powerful system that works well for both server and desktop env...
Read More
How to Choose the Best Linux Desktop for You
With Linux comes choice. Along with that choice, comes debate. Which desktop is the best? Which offers the most user-friendly experience...
Read More
The best way to compare two objects by value in C#
To compare to object by value we can use the following code snippet. 1 2 3 4 private static bool CompareValue( object ...
Read More
Casting or Parsing a variable in generic type member variable in C#
Microsoft .Net already has a bunch of great string conversion routines you can use! A TypeConverter can do most of the heavy lifting for y...
Read More
C#: Detect Windows OS Version Info
Currently, several versions of Windows OS are available in the market from Windows XP to latest Windows 8. For one my application, I was ...
Read More
Rendering a Byte Array as a Series of Hex Characters
You can use the BitConverter class to get a hex representation of a string of bytes. For example: 1 2 3 4 byte [] someBy...
Read More
Delegate Types vs. Delegate Instances
In C#, the idea of a delegate is that you create an object that refers to a method. This object can be thought of as a sort of pointer t...
Read More
Delegate Invocation Syntax
n C#, you typically invoke a delegate by using the variable referring to the delegate instance as if it were a method. For example, in the ...
Read More
C# Backpropagation Tutorial (XOR)
I’ve been trying for some time to learn and actually understand how Backpropagation (aka backward propagation of errors ) works and how ...
Read More
C# Prevent Reflector from Decompiling
This is a simple way to protect your application from any so-called “cracker”, without involving obfuscation. Remember that this works o...
Read More
C# BigInteger – Working with Large Numbers
Working with large numbers was always a problem for any programmer – no one enjoys doing math operations using numbers stored in arrays, b...
Read More
Windows 8.1: How to use Visual States in your XAML App
There’s no question that XAML’s résumé has a few items in bold. It’s ability to data bind sets it apart from any other technology. It...
Read More
Every Programer do This
Every Programer do This Every programer make one program Which is Hallo World Program in her 1st Day in programing using System; using ...
Read More
There Are Only 2 Roles of Code
All code can be classified into two distinct roles; code that does work (algorithms) and code that coordinates work (coordinators). The...
Read More
Subscribe to:
Posts (Atom)