To Create and Run a Console Application C# <RageUnseen>

RageUnseen

Adanmış Üye
29 Ağu 2015
6,881
248
İstanbul
1.Start Visual Studio.

2.On the menu bar, choose File, New, Project.
The New Project dialog box opens.

3.Expand Installed, expand Templates, expand Visual C#, and then choose Console Application.

4.In the Name box, specify a name for your project, and then choose the OK button.
The new project appears in Solution Explorer.

5.If Program.cs isn't open in the Code Editor, open the shortcut menu for Program.cs in Solution Explorer, and then choose View Code.

6.Replace the contents of Program.cs with the following code.
Kod:
C#
// A Hello World! program in C#.
using System;
namespace HelloWorld
{
    class Hello 
    {
        static **** Main() 
        {
            Console.WriteLine("Hello World!");

            // Keep the console window open in debug mode.
            Console.WriteLine("Press any key to exit.");
            Console.ReadKey();
        }
    }
}
7.Choose the F5 key to run the project. A Command Prompt window appears that contains the line Hello World!

Next, the important parts of this program are examined.


DİL TAKIMI KÜLÜBÜ
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.