Category: C# Blogs

Fields vs. Properties in C#

There is a very significant difference between a field and property within a class. The difference is in the behaviour of the field when defined as either a static or instance. Basically, if you create 2 instances of class which has a static field, when you change the value of that field, the values in […]

Read More →

WPF Using Templates and Themes

Benjamin Perkins C#

If you are like me, your getting a little tired of the tannish green or grey color of the default WPF window. I have been seeing in magazines and on the internet some nice looking GUI’s (graphical user interface or windows) and was thinking about how I could implement or develop something like that. I […]

Read More →

Localizing a WPF program using C#

Benjamin Perkins C#

See also the article about localizing an ASP.NET system here. See also my video about localizing an ASP.NET system here. These days when you are designing a GUI (Graphical User Interface) one of the many topics to discuss is that of localization. Simply, localization means that local date format, currency and language will be supported […]

Read More →

Localizing an ASP.Net program using C#

Benjamin Perkins C#

See also the article about localizing a WPF system here. See also my video about localizing a WPF system here. These days when you are designing a GUI (Graphical User Interface) one of the many topics to discuss is that of localization. Simply, localization means that local date format, currency and language will be supported […]

Read More →

The number 400

Benjamin Perkins C#

What is significant about the number 400? 400 is 20² 400 is divisible by: 1, 2, 4, 5, 8, 10, 16, 20, 25, 40, 50, 80, 100, 200, 400 400 equals 2⁴ * 5² or ( 2*2*2*2*5*5) 400 is a self-number which are generated by this formula:  You can write 400 like this: four hundred, […]

Read More →

Server Error 0x800004005 Request timed out.

Benjamin Perkins C#

I wrote this post and this lab about the impact of having debug=true in your web.config file.  The fact is, when you are running in a production environment, you do not want to have debug=true.  However, I was writing a series of NETSH tracing posts: Capturing a NETSH network trace Analyze NETSH traces with Wireshark […]

Read More →