TechyMedia

A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer

NAVIGATION - SEARCH

Static Classes And Static Class Members In C#

A static class can not be instantiated.Utility functions are stateless in nature and hence no need of a class object to access it.Hence Utility classes are always the best candidate as static classes.This avoids unnecessary instance creation,no need to dispose and simplicity of usage with reduced lines of code.
A static class can not be instantiated.Utility functions are stateless in nature and hence no need of a class object to access it.Hence Utility classes are always the best candidate as static classes.This avoids unnecessary instance creation,no need to dispose and simplicity of usage with reduced lines of code. [More]

C#.NET Version 1.2 Features

C# version 1.2 is an upgraded version of C# 1.0 with features like private class constructor and Dispose on IEnumerator.
C# version 1.2 is an upgraded version of C# 1.0 with features like private class constructor and Dispose on IEnumerator. [More]

C#.NET Version 2.0 Overview

With .NET Framework version 2.0 Microsfot has updated C#.NET language to version 2.0 with some excellent new features such as Generics,Partial Classes,Nullable Types,Anonymous Methods,Iterators and much more.Read this article for a much detailed list of all C#.NET 2.0 features.
With .NET Framework version 2.0 Microsfot has updated C#.NET language to version 2.0 with some excellent new features such as Generics,Partial Classes,Nullable Types,Anonymous Methods,Iterators and much more.Read this article for a much detailed list of all C#.NET 2.0 features. [More]

Overview Of C#.NET Version 1.0

C#.NET is an object oriented programming language.In addition to the basic object-oriented principles, C# as a programming language facilitates some very useful features which makes C# a suitable choice for fast and advanced application developments.
C#.NET is an object oriented programming language.In addition to the basic object-oriented principles, C# as a programming language facilitates some very useful features which makes C# a suitable choice for fast and advanced application developments. [More]

Overview Of C#.NET Version 3.0

  Automatic properties Object initializer Collection initializer Implicitly typed local variables (var keyword) Anonymous types Partial methods Extension methods Lambda Expressions

C#.NET Version 4.0 Overview

    Optional parameters Named parameters dynamic keyword Parallel computing Covariance and Contravariance

Iterating recursively through menustrip items in C#.NET

There might be many cases and requirements to loop through all menu items in a Menu Strip Control.The sample method here help you to achieve the same.You can use these methods in the same class or can be made as separate static utility methods as you like.I just made it as private methods inside a class.
There might be many cases and requirements to loop through all menu items in a Menu Strip Control.The sample method here help you to achieve the same.You can use these methods in the same class or can be made as separate static utility methods as you like.I just made it as private methods inside a class. [More]

How To Make Table in RichTextbox Using C#

Is it possible To Generate Table in RichTextBox? Code snippet explained to Create Table in Richtextbox.How to create a Table in Richtextbox. RichTextBox control is always the best choice when it is required for the user to edit formatted text, images, tables and any other such rich contents which is not possible in simple textbox.RTF Specification provides formats for text and graphics that can be used with different output devices, operating environments, and operating systems. [More]

Best Free performance profiling tools for .NET

Sluggish and unresponsive software applications can cause huge revenue losses and are enough to spoil the reputation of the provider no matter how better you have designed and coded.It is mandatory to optimize the code on various matters like Performance and memory issues.Without a proper Performance profiling tool this will be very hectic and non reliable to fine tune your code for performance.
[More]

C# - First/Last Letter Uppercase/Lowercase, Remove duplicates From List,Array

How to make first letter of a string upper or lowercase.How to remove duplicates from an array or list.How to join strings from array or list
How to make first letter of a string upper or lowercase.How to remove duplicates from an array or list.How to join strings from array or list [More]