Hi Luc,

First to there must be Main method to run it as a executable file. If it
contains that, do as following steps.

 

Start Visual Studio->File->New Project->Visual C#(From left side)->Console
Application(From right side)->Copy and Paste code in the file which u
have->Press F5 key to debug or Use build menu to build it->find executable
file in "source foder\bin\debug\appname.exe"

 

Regards

Sachira

From: [email protected]
[mailto:[email protected]] On Behalf Of Michel Ank
Sent: Wednesday, January 05, 2011 12:30 AM
To: [email protected]
Subject: Re: [DotNetDevelopment] help with a simple .cs (c#)

 

You need compile this file.

On 3 January 2011 14:24, yqyq22 <[email protected]> wrote:

Hello all,
i would like to create a .exe but i have only a .cs, it includes a
namespace, a public class and a class.
I'm not a developer so i hope that someone can help me.
Thanks a lot
Luc




-- 
-----------------------------------------------------------------------
Michel G. Ank

Reply via email to