Pagina de start a forumului Programare.org -> Bloguri

oldsellerros


Oldsellerros's blog

Proprietar Blog: [ oldsellerros ]
Contributors: [ (none) ]
Blog: [ View All Entries ]
[ Friends ]
Du-te: [ Back/Forward ]

Calendar

 «   <   »   >  Septembrie 2010
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

Shoutbox

There are no shouts for this Blog yet.

 Utilizator:

 Site Web:

 Shout:

View and Insert Smilies

 

Contact oldsellerros

Adresa de email


Mesaj privat
Trimite mesaj privat

Codul MSN Messenger


Codul Yahoo Messenger


Adresa AIM


Numărul ICQ


About oldsellerros

Data înscrierii
Joi Feb 04, 2010 6:08 pm

Locație


Ocupația


Interese
Inginer software

Blog

Blog Started
Joi Feb 04, 2010 8:08 pm

Total entries
1

Blog Age
217 days

Total replies
4

Visits
3647

RSS

RSS Feed

Users browsing this blog: Nici unul

Ce este C# ?


Joi Feb 04, 2010 8:12 pm

Trackback 0 [ Permalink ]

C# este un limbaj de programare orientat-obiect conceput de Microsoft la sfârșitul anilor 90. A fost conceput ca un concurent pentru limbajul Java. Ca și acesta, C# este un derivat al limbajului de programare C++.

C# simplifică mult scrierea de programe pentru sistemul de operare Windows.

Exemplu de program simplu Windows scris în C++ și C#:

Cod scris in C++:
Cod:

public:
int main(array<System::String ^> ^args)
{
   // Enabling Windows XP visual effects before any controls are created
   Application::EnableVisualStyles();
   Application::SetCompatibleTextRenderingDefault(false);

   // Create the main window and run it
   Application::Run(gcnew Form1());
   return 0;
}


Cod scris in C#:

Cod:

public static void Main()
{

       Form1 form1 = new Form1();
       form1.Show();
       Application.Run(form1);
}


sursa: ro.wikipedia.org/wiki/C_sharp

Posted By: oldsellerros
4 Comentarii (Posteaza comentariu)-Doar membri
Powered by the Blog Mod version 0.2.x by Hyperion
Powered by phpBB © 2001, 2002 phpBB Group
Weblog style by Hyperion