Tag: Learn C#

Nov 02

C # Environment

C # Environment  The .Net framework is a revolutionary platform that helps you to write the following types of applications: Windows applications Web applications Web services The .Net framework applications are multi-platform applications. The framework has been designed in such a way that it can be used from any of the following languages: C#, C++, …

Continue reading

Permanent link to this article: http://zappmania.in/2013/11/02/c-environment.htm

Jul 31

List all supported cultures name -C#

C-Sharp

List all supported cultures name Below example will show you how to obtain the entire supported culture names. We use theSystem.Globalization.CultureInfo class to get this information. It provides a method called GetCultures() that returns an array of CultureInfo. From this object we can get the culture name in languageCode-countryCode format and a culture name in English. Let see the code snippet …

Continue reading

Permanent link to this article: http://zappmania.in/2013/07/31/list-all-supported-cultures-name-c.htm

Jul 28

Create properties in C#

C-Sharp

Create properties in C# Property is used to read or write fields or attributes of a class. In our User class web have four fields id, username, firstName, lastName. Next we create properties for setting and getting the value of the property.    

 

Permanent link to this article: http://zappmania.in/2013/07/28/create-properties-in-c.htm

Jul 28

Create an auto implemented properties C#

C-Sharp

Create an auto implemented properties C#   Starting from C# 3 we can create an auto-implemented properties. This make our code look simpler and easier to read. When we create an auto-implemented properties the compiler will create a private, anonymous backing field that can only be accessed through the property’s get and set accessors.      

  …

Continue reading

Permanent link to this article: http://zappmania.in/2013/07/28/create-an-auto-implemented-properties-c.htm

May 14

Design Patterns with example

Design-Patterns

Design Patterns Design is blue print or sketch of something so it can be defined as creation of something in mind. Moving to pattern, we can define it as guideline, or something that repeats. Now the definition of design pattern becomes creating something in mind that repeats or in other words capturing design ideas as …

Continue reading

Permanent link to this article: http://zappmania.in/2013/05/14/design-patterns-with-example-2.htm