Ajax
ASP
C,C++
C#,.NET
CSS,HTML
Delphi,Kylix
Experience
Flash
Java
JavaScript
PHP
Python
QT
SQL
ShellScript
VB
U :
P :
Register
Lost Password
Other Links
Code Archive
Save Giovanni
C#,.NET Category Code
Real Name
:
Secure Shell
Subject
:
Creating an alias
Description
:
Creating an alias / C Sharp ile Alias oluşturma
using System; using MyAlias=MyNamespace.Nested.MyClass; namespace MyNamespace { namespace Nested { namespace MyClass { public class Foo { int _Value; public Foo() { _Value = 0; } public int getValue() { return _Value; } } } } } class Test { public static void Main() { MyAlias.Foo myFoo = new MyAlias.Foo(); Console.WriteLine("Value {0}", myFoo.getValue()); } }
Rating
:
0.00
(out of 5)
Visitor Voting Booth
:
Excellent
Very Good
Good
Fair
Poor
Copyright © 2006 SharingCode.NET . All rights reserved. Hosted By: SisNetworks