This site focuses on C# language and such .NET technologies as WPF, XAML, LINQ, WCF, Web Services, XML.
You can Download Example's Source Code
Listed: May 15, 2012
Singleton is one of the most frequently used Design Patterns in Software Engineering. You should apply Singleton pattern if you want to ensure that your class will have only one instance with a global point of access to it. ∙ Let's look at...―
Factory it's such a Design Pattern which defines an interface for creating an object, but lets the classes that implement the interface decide which class to instantiate. Factory Pattern lets a class postpone instantiation to sub-classes. ∙...―
Dependency Injection in software engineering is a specific form of invasion of control. Conventionally, when an object needs access to a particular service, this object takes responsibility for access to this service. Commonly, an object receives ...―
Imaging this scenario: We have an Employee object with many properties in it, and we want to display our Employee in a DataGrid or some other control. For this purpose we need a lighter version of Employee, let's call it EmployeeViewItem. A list ...―
I'll be honest - I hate Recursion! But, nothing you can do, there are some situations when you know - this problem should be solved with Recursion. One of such problems is XML reading. ∙ Today I'll show a simple example of reading ...―
In GUI programming there is exist some very common problem - if some operation takes too much time the GUI will become unresponsive. For example, if you want establish connection with a server, or fetch some data from database or a large file, ...―
C# 5.0 and .NET Framework 4.5 bring to developer a very nice feature called Asynchronous Programming. Asynchronous Programming is based on Task Parallel Library (TPL). As you probably know traditional techniques for writing asynchronous programs ...―
If you want to know how much resources your C# application consumes there is a very nice tool in Visual Studio for this purpose. It allows you to see how much CPU your program uses, amount of memory allocated for it, how much time your program...―
Regular expressions, aka Regex, are very commonly used by any developer no matter what language he's writing his program. Today I'll show the most useful Regex that sooner or later you will need them. ∙ 1. URL Regex: ∙...―
Let's say we created some Enum data type. Now we want to show our Enum values on WPFComboBox or ListBox. How do we do that? ∙ In order to achieve this, in WPF we have an ObjectDataProvider class which provides mechanism for creation a XAML...―
I recently came across with some very interesting feature in C# - Speech Synthesizer! Speech Synthesizer is Microsoft API which allows to build speech enabled applications. Just one row of code and your WPF application will spell any textual data!...―
I had every intention of posting this week's Menu Plan when I got home from my high school ...
Dulu ∙ di kantor tempat penulis kerja it ada website perusahaan yang kita ∙ ...
Depending on the age and personality of your kids, they’ll either be really ...