#1
| |||
| |||
Type alias in Csharp I am assigned to work on a project on Microsoft .NET. This requires me to be friendly with Csharp. I have never learnt any programming language in detail and now I have to learn Csharp. I am not able to grasp many of its concepts. I am not getting what is a type alias in Csharp. Please help this is my first project. |
#2
| |||
| |||
Re: Type alias in Csharp The Common Language Runtime designed by Microsoft is said to be the Heart of .Net. There are a few aliases which are there in C# that can be used for intrinsic Common Language Runtime. Alias means another name. We can make use of aliases instead of types and vice-versa. So therefore, we can use System.Int32 inplace of the keyword int. |
#3
| |||
| |||
Re: Type alias in Csharp Csharp is really the most useful language to work on .NET platform application. I too had hard time initially to study the Csharp concepts. A type alias is simple another keyword for Commmon Language Runtime Type in Csharp. eg. Code: string aliaseg = new System.String ('*', 7); |
#4
| |||
| |||
Re: Type alias in Csharp Csharp has a feature that allows its user to make use of an "alias" for a namespace. Thus consider this namespace: MadProps.Windows.Controls. You can make a use of an alias as: using mpc = MadProps.Windows.Controls; Thus now you can use mpc instead of using MadProps.Windows.Controls again and again.
__________________ The FIFA Manager 2009 PC Game |
![]() |
|
Tags: alias, c sharp, csharp, programming code, software programming, type |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BOXING and UNBOXING in CSharp | Izek | Software Development | 3 | 21-11-2009 11:57 PM |
Lambda expressions in Csharp | Izek | Software Development | 3 | 17-11-2009 04:32 AM |
Are constructors in Csharp inherited? | Joel5 | Software Development | 3 | 14-11-2009 06:47 PM |
Exception Handling in Csharp | Jesus2 | Software Development | 3 | 11-11-2009 11:22 PM |
What do you mean by Csharp Delegates? | Jarini | Software Development | 3 | 11-11-2009 09:57 PM |