Search Tutorials:
About Me
|
Contact Me
Home
Tutorials
ASP.NET
Android
AJAX
JQuery
WCF
Visual C#
ADO.NET
.NET Framework
LINQ
Visual Basic
Java
HOW TOs
ASP.NET
Android
AJAX
JQuery
Visual C#
ADO.NET
.NET Framework
LINQ
Visual Basic
Java
Blog Posts
ASP.NET
JavaScript
Android
JQuery
Visual C#
.NET Framework
Visual Studio
ASP.NET MVC
Windows Phone 7
Free ebooks
Book Reviews
General
Personal
Presentations
Cheat Sheets
Web Services
Visual C# Tutorials
Tweet
Share
|
Visual C#
Overview of C# 3.0 Anonymous Types
Posted by
Waqas Anwar
on
10 Jul 2009
- Views Count:
4868
Microsoft introduced some great new features in C# 3.0 to make developers more productive. Most of those features are introduced to support Language Integrated Query (LINQ) but they can also be used in many other scenarios. One such feature is Anonymous Types that allows you to define a class with some simple encapsulated fields without any associated methods, events or functionality. In this tutorial I will give you overview of C# 3.0 Anonymous Types.
Visual C#
Overview of C# 3.0 Object Initializers
Posted by
Waqas Anwar
on
30 Jun 2009
- Views Count:
3953
When you create object of any type in C#, it is very common to call its default constructor using new keyword and then set the object properties one by one. The new object initializer syntax introduced in C# 3.0 makes it easier for us to initialize our objects in one statement without calling the object parameterize constructor. In this tutorial I will give you an overview of this new Object Initializer feature of C# 3.0.
Visual C#
Understanding C# 3.0 Extension Methods
Posted by
Waqas Anwar
on
29 Jun 2009
- Views Count:
4245
As you know, once a type such as class, interface, and structure is defined and compiled into a .NET assembly, it is not possible to add new members or update existing members without opening and changing the source code and recompiling it again. In C# 3.0, Microsoft introduced a new feature called Extension Methods that enable developers to add new functionality to existing precompiled types. These types can be either .NET Framework built in types such as String and DateTime or they can be your custom types. In this tutorial I will try to give you a complete overview of extension methods.
Visual C#
Overview of C# 3.0 Automatic Properties
Posted by
Waqas Anwar
on
18 Jun 2009
- Views Count:
3388
All .NET programming languages prefer the use of Properties to encapsulate the private fields available in the class. There is nothing too problematic with Properties but sometimes when you need properties simply to assign and return the value stored in a private field it looks quite a lot of work especially if you have to declare properties for 15 to 20 private fields. To automate the process of providing simple encapsulation of field data C# now has a new syntax to generate automatic properties. In this tutorial I will show you how you can create Automatic Properties and how you can use them in your programs.
Visual C#
Implicitly Typed Local Variables in C# 3.0
Posted by
Waqas Anwar
on
17 Jun 2009
- Views Count:
10760
Microsoft introduced quite a number of new features in C# 3.0 and later version and most of them are added in the language to support another new technology LINQ. One of those features is implicitly typed variables that allow you to create a local variable by using a newly added var keyword without giving it a specific type. In this tutorial I will give you introduction of implicitly typed variables and their use in your programs.
Visual C#
Singleton Design Patten in C#
Posted by
Waqas Anwar
on
25 May 2009
- Views Count:
2417
The singleton pattern is one of the most known and easiest design patterns in software engineering. In simple words, a singleton is a class which only allows a single instance of itself to be created. There are various different ways to implement this pattern in C#. In this tutorial, I will show you how you can implement the singleton design pattern with minimum amount of code.
Visual C#
Using XmlTextWriter to write XML Documents in .NET
Posted by
Waqas Anwar
on
16 May 2008
- Views Count:
7195
XML is one of the most popular topics these days. As the use of XML files is increasing, more and more developers want to learn how to write, read and consume XML documents from different programming languages. In the following tutorial, I will show you how you can use .NET Framework built in class XmlTextWriter to generate XML document in C#.
Visual C#
Using C# Delegates with Events
Posted by
Waqas Anwar
on
02 May 2008
- Views Count:
5045
.NET Delegates are objects which can refer to static and instance methods in memory at runtime and can call those methods in your program. In this tutorial I will show you how you can create and use delegates in C#.
« Previous
1
2
Next »
Find us on Facebook
Popular Posts
Binding Android ListView with Custom Objects using ArrayAdapter
August 12, 2011
Using Parameters with ObjectDataSource Control
June 24, 2009
Editing ASP.NET ListView Control using JQuery AJAX and Web Services
December 16, 2010
Editing Data using ASP.NET GridView Control
April 11, 2009
Insert Records using ObjectDataSource Control
June 27, 2009
Recent How TOs
How to Change IFrame Source using JQuery
November 14, 2012
How to Set Files as Read Only in .NET
August 29, 2012
How to get Domain Controllers Information in .NET
August 29, 2012
How to Check Validity of IP Address in .NET
August 29, 2012
How to Ping an IP Address in .NET
August 29, 2012
How to Create Conditional method
August 29, 2012
How to Create Breakpoint programmically
August 29, 2012
Recent Blog Posts
Create Free Responsive Portfolio Websites with Dunked
May 16, 2013
Ghost: A Revolutionary Open Source Blogging Platform
May 16, 2013
A Fast & Fully Featured Auto-Complete Library
April 27, 2013
Paragraph, Word & Character Counting with Countable.js
April 27, 2013
Drag and Drop Interface Builder for Twitter Bootstrap
April 27, 2013
Tags
asp.net
.net framework
ajax
android
visual basic
java
visual c#
linq
wcf
jquery
ado.net