Tips n Tracks

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Reference

Sample image

Microsoft .NET Framework Get Details.

Sample image

Microsoft .NET Framework Get Details.

Reference

Sample image Microsoft .NET Framework Get Details.
Sample image

Microsoft .NET Framework Get Details.


What is an Exceptions?


We code to make the program perfect and Error free; eventhough there is a chance of errors. All .NET Framework operations indicate failure by throwing exceptions.

An exception is any error condition or unexpected behavior encountered by an executing program. Exceptions can be raised because of a fault in your code or in code you call (such as a shared library), unavailable operating system resources, unexpected conditions the common language runtime encounters (such as code that cannot be verified), and so on.

In the .NET Framework, an exception is an object that inherits from the Exception Class class. An exception is thrown from an area of code where a problem has occurred. The exception is passed up the stack until the application handles it or the program terminates.

 

Finding Similar Words (like bat, cat, mat)using regular expressions with .net


Finding Similar Words (like bat, cat, mat)using regular expressions with .net

In this regular expression we are going to find out Similar Words like bat, cat, mat, and rat. Just take a look at above words they all same ending "at".

Regular Expression Pattern

\b[a-zA-Z](at\b)

A description of the regular expression:

First or last character in a word
Any character in this class: [a-zA-Z]
[1]: A numbered capture group. [at\b]
at\b
at
First or last character in a word


Read the rest of this entry »

Getting Started with C# Object-Oriented Programming


Getting Started with C# Object-Oriented Programming

C# is a powerful and flexible programming language provides several features. Like all programming languages, it can be used to create a variety of applications. C# is an object-oriented programming language developed by Microsoft as part of the .NET Visual Studio and later approved as a standard by ECMA and ISO.

Object-oriented programming (OOP) introduced the concept of classes and objects in the early ’90s. In 1962 "SIMULA 1" and in 1967 " SIMULA 67" used the concept of Object-oriented programming and these are the two earliest object – oriented languages. Even though most of the advantages of OOP were available in the earlier Simula languages, it wasn’t popular till the evolution of C++. The C++ is a very powerful object oriented language; it is in fact a mixture of both methodologies, the traditional and OOP approaches. However, with that power comes with a lot of complexity. Language developers wanted a simpler and perhaps less complex language for OOP development.


Read the rest of this entry »

New Features in the .NET Framework Version 4.0


New Features in the .NET Framework Version 4.0

The Microsoft .NET Framework is one of the favorite development frameworks platform running on Microsoft Windows family of operating systems. Currently (on 12 October 2009) the .NET Framework 3.5 Service Pack 1 is the Stable release of .NET Framework released on 11 August 2008. Microsoft also announced the .NET Framework 4.0 on 29 September 2008. The Public Beta was released on 20 May 2009. Here we will take a look at new and enhanced features in the .NET Framework version 4.0 Beta 2 release. This is not final features and is subject to change with respect to the Stable release of .NET Framework version 4.0.

Microsoft .net Framework Logo

The Microsoft .NET Framework 4 coming up with many new features for enabling developers to create applications faster than ever and fully compatible with the older versions of .NET Framework. Some of the New Features in the .NET Framework Version 4.0 are as follows:


Read the rest of this entry »

What is Windows Presentation Foundation (WPF)?


The Microsoft Windows Presentation Foundation provides the foundation for building applications and high fidelity experiences in Windows Vista, blending together application UI, documents, and media content, while exploiting the full power of your computer. The functionality extends to the support for Tablet and other forms of input, a more modern imaging and printing pipeline, accessibility and UI automation infrastructure, data driven UI and visualization, as well as the integration points for weaving the application experience into the Windows shell.