C# Programming Tutorials

C Sharp Programming Tutorials And Articles
  Title / Author Replies
Views Reverse Sort Order
Introduction Classe Will be used to implement most objects. Somtimes however, it may be desirable to create an object that behavves like one of the references. in that case, a value type used, wich is done by declaring a Struct in C#. structs act similarly to classes, but with a few added...
0
2,967
Custom Math Class that can check if a number is even or odd, calculate your rental payment, mean, percent, and percentage of a number. My custom class for some math problems, including a function to calculate payment on a house or rental agreement. The Code This class is used to calculate...
0
2,427
Specialized containers are a variant of content controls but unlike content controls which can hold simple content type such as string or UIElement object, the specialized containers has larger impact and they affect the outlook of the larger portion of content visible on the screen. In this...
0
2,149
In my last article, Complete Threading Tutorial in C#, I explained basics of threading. I explained that how threads can be created, how locking is implemented to make your applications thread-safe and how exception handling is implemented in threaded applications. This article explains some more...
0
2,026
XML documents are a standards described by World Wide Web Consortium (W3C) that are used for transferring information over the internet. The .NET Framework provides several namespaces and classes that allow developers to read, write and interact with the XML documents. In my article on LINQ to XML,...
0
1,947
A lambda expression is basically an unnamed method which is used in place of delegate instance. Lambda expressions are also some times called inline delegates and they are mostly used with delegates. Anonymous methods can be represented in a more concise way using these lambda expressions. Lambda...
0
1,880
Strings are an integral part of any programming language. In almost every programming language you would find strings of data being passed as input and being displayed as input. Strings are an important way to interact with the user. Whenever you visit a website, you are often asked to sign up...
0
1,793
Most of the time, a developer needs to read or write data from a location outside the memory of the program. This location can be a text file, a network connection a database or any other source of data. In order to deal with such sources of information, .NET Framework provides a set of classes...
0
1,705
Often times, applications need to perform multiple tasks at a time. I always share Microsoft’s word processor’s example. While you type in the word processor, the application lets you type and in the meantime it is running spell-check and dictionary in the background to inform you whenever you type...
0
1,692
If you are beginner to LINQ, I will suggest you to first read Introduction to LINQ. However, if you have read that article or have some basic understanding of LINQ queries and lambda expressions, you can carry on with this article. In this article, I am going to explain you some more advanced LINQ...
0
1,653
C# is a language that integrates useful concepts from several programming languages. C# contains advanced features of Java and provided C++’s robustness. The concept of pointer is integral in C and other low level languages. However, C# also allows you to utilize the power of pointers in your code...
0
1,582
WPF content controls are a specialized form of WPF controls and are used to store content either entered by the user or read from any other data source. Content controls can contain only one child element. This is unlike layout controls such as Grid, WrapPanel and StackPanel controls that contain...
0
1,530
Grid layout is one of the most widely used layouts in any WPF application. The basic concept of a Grid is that it divides the window surface into grids of invisible rows and columns to which other controls or layouts can be added. Grids are usually invisible but can be made visible for debugging...
1
1,529
.NET framework has everything what it takes to develop a highly customizable software application. Apart from providing thousands of built in classes in language library and common language runtime, .NET offers variety of options during code compilation. Using visual studio you can access those...
0
1,519
Most of the .NET functionalities are provided via managed types. These managed types are organized in hierarchical namespaces. .NET framework contains thousands of types and the number is prospering with every passing day as more and more developers are contributing towards expanding the language...
0
1,502
C# owes Java a lot: In terms of features and compilation strategy C# is very similar to Java. As a matter of fact, C# was developed with intent to compete Java. However, platform dependence and less portability of C# give Java edge over C#, Interfaces are one of the many features that C# inherited...
0
1,491
In the articles on namespaces in C#, I explained in detail that .NET framework class library contains thousands of classes, interfaces and enumeration in hundreds of assemblies. These classes are related to each other. We also know that C# is a purely object oriented language. Object oriented...
0
1,443
.NET framework provides wide range of namespaces that contain types, interfaces and structs which can be used to store, manage, and sort collections of data. These types include, lists, arrays, linked list and sorted as well as unsorted dictionaries. The types of collections available in .NET...
0
1,420
Almost every software application has to deal with some sort of text information. This information can be the content of some email, a network message or some input value obtained from the user. WPF contains Text controls for this purpose that can be used to get input from the user. Similarly, to...
0
1,411
In my last tutorial on basics of threading, I explained what threading basically is and how it is actually implemented in C#. I would advise you to have a look at it before continuing with this article or if you have an Idea of what threads actually are, you can continue with this article. Writing...
0
1,408