473,387 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

NEW - Where to start from ??

Hi all
I am new to C#
I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
I also finish 6 CD's of the learnkey
I used to use PowerBuilder as a developing Tool, I need to know the same
things about C#

I need to build my first application, Where to start from ??
Thanks
/WS
Nov 16 '05 #1
6 1227
hi,
You have finished a book AND 6 CDs and havnt written your first program yet
??? :-)

Well, first you need to download .net framework SDK, which will be the
runtime. The current version is 1.1. get it from :
http://www.microsoft.com/downloads/d...ca6-3647-4070-
9f41-a333c6b9181d&displaylang=en
Install it. Once u r done installing it, you create a new blank text file
and type (or copy paste) the following:

//----START
using System;

namespace NHello
{
class Cintro
{
public static void Main()
{
Console.WriteLine ("hello world & behold!!!!! This is my first ever
coolest C# managed assembly.");
}
}
}

//----END

save it as firstflight.cs. Now you need to pass this file's name as a
"command line argument" to the C# compiler which is called csc.exe. Its
located inside your windows directory (%windir%), inside the
"Microsoft.NET\Framework\v1.1.4322" folder. Open a command prompt and goto
that folder with whatever means possible. and type:
csc firstflight.cs
if you saved your firstflight.cs inside the same folder as csc.exe the above
statement will compile and produce a firstflight.exe which you can run from
the same command prompt.

Here you go, you have just made your first .net managed application.

I hope that helps,
Ab.
http://joehacker.blogspot.com.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP12.phx.gbl...
Hi all
I am new to C#
I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
I also finish 6 CD's of the learnkey
I used to use PowerBuilder as a developing Tool, I need to know the same things about C#

I need to build my first application, Where to start from ??
Thanks
/WS

Nov 16 '05 #2
I am Sorry .... I haven't explain myself correctly
What I mean is I have built many frameworks in PowerBuilder, and I want to
do the same in C#
So, What is short and correct way to do the same in C# ....

Thanks
/WS

"Abubakar" <em**********@yahoo.com> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
hi,
You have finished a book AND 6 CDs and havnt written your first program
yet
??? :-)

Well, first you need to download .net framework SDK, which will be the
runtime. The current version is 1.1. get it from :
http://www.microsoft.com/downloads/d...ca6-3647-4070-
9f41-a333c6b9181d&displaylang=en
Install it. Once u r done installing it, you create a new blank text file
and type (or copy paste) the following:

//----START
using System;

namespace NHello
{
class Cintro
{
public static void Main()
{
Console.WriteLine ("hello world & behold!!!!! This is my first ever
coolest C# managed assembly.");
}
}
}

//----END

save it as firstflight.cs. Now you need to pass this file's name as a
"command line argument" to the C# compiler which is called csc.exe. Its
located inside your windows directory (%windir%), inside the
"Microsoft.NET\Framework\v1.1.4322" folder. Open a command prompt and goto
that folder with whatever means possible. and type:
csc firstflight.cs
if you saved your firstflight.cs inside the same folder as csc.exe the
above
statement will compile and produce a firstflight.exe which you can run
from
the same command prompt.

Here you go, you have just made your first .net managed application.

I hope that helps,
Ab.
http://joehacker.blogspot.com.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP12.phx.gbl...
Hi all
I am new to C#
I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
I also finish 6 CD's of the learnkey
I used to use PowerBuilder as a developing Tool, I need to know the

same
things about C#

I need to build my first application, Where to start from ??
Thanks
/WS


Nov 16 '05 #3
:-)
when you say "framework" what do you mean exactly? Cuz what now you are
working is called a ".net framework". Do you mean some class library sort of
thing?

Ab.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:uG*************@TK2MSFTNGP12.phx.gbl...
I am Sorry .... I haven't explain myself correctly
What I mean is I have built many frameworks in PowerBuilder, and I want to
do the same in C#
So, What is short and correct way to do the same in C# ....

Thanks
/WS

"Abubakar" <em**********@yahoo.com> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
hi,
You have finished a book AND 6 CDs and havnt written your first program
yet
??? :-)

Well, first you need to download .net framework SDK, which will be the
runtime. The current version is 1.1. get it from :
http://www.microsoft.com/downloads/d...ca6-3647-4070-
9f41-a333c6b9181d&displaylang=en
Install it. Once u r done installing it, you create a new blank text file
and type (or copy paste) the following:

//----START
using System;

namespace NHello
{
class Cintro
{
public static void Main()
{
Console.WriteLine ("hello world & behold!!!!! This is my first
ever
coolest C# managed assembly.");
}
}
}

//----END

save it as firstflight.cs. Now you need to pass this file's name as a
"command line argument" to the C# compiler which is called csc.exe. Its
located inside your windows directory (%windir%), inside the
"Microsoft.NET\Framework\v1.1.4322" folder. Open a command prompt and
goto
that folder with whatever means possible. and type:
csc firstflight.cs
if you saved your firstflight.cs inside the same folder as csc.exe the
above
statement will compile and produce a firstflight.exe which you can run
from
the same command prompt.

Here you go, you have just made your first .net managed application.

I hope that helps,
Ab.
http://joehacker.blogspot.com.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP12.phx.gbl...
Hi all
I am new to C#
I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
I also finish 6 CD's of the learnkey
I used to use PowerBuilder as a developing Tool, I need to know the

same
things about C#

I need to build my first application, Where to start from ??
Thanks
/WS



Nov 16 '05 #4
Yes, I mean class library for my application(s) to work using it, for
example the printing functionality is done in one class and exposed to all
the application(s)

/WS
"Abubakar" <em**********@yahoo.com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
:-)
when you say "framework" what do you mean exactly? Cuz what now you are
working is called a ".net framework". Do you mean some class library sort
of thing?

Ab.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:uG*************@TK2MSFTNGP12.phx.gbl...
I am Sorry .... I haven't explain myself correctly
What I mean is I have built many frameworks in PowerBuilder, and I want
to do the same in C#
So, What is short and correct way to do the same in C# ....

Thanks
/WS

"Abubakar" <em**********@yahoo.com> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
hi,
You have finished a book AND 6 CDs and havnt written your first program
yet
??? :-)

Well, first you need to download .net framework SDK, which will be the
runtime. The current version is 1.1. get it from :
http://www.microsoft.com/downloads/d...ca6-3647-4070-
9f41-a333c6b9181d&displaylang=en
Install it. Once u r done installing it, you create a new blank text
file
and type (or copy paste) the following:

//----START
using System;

namespace NHello
{
class Cintro
{
public static void Main()
{
Console.WriteLine ("hello world & behold!!!!! This is my first
ever
coolest C# managed assembly.");
}
}
}

//----END

save it as firstflight.cs. Now you need to pass this file's name as a
"command line argument" to the C# compiler which is called csc.exe. Its
located inside your windows directory (%windir%), inside the
"Microsoft.NET\Framework\v1.1.4322" folder. Open a command prompt and
goto
that folder with whatever means possible. and type:
csc firstflight.cs
if you saved your firstflight.cs inside the same folder as csc.exe the
above
statement will compile and produce a firstflight.exe which you can run
from
the same command prompt.

Here you go, you have just made your first .net managed application.

I hope that helps,
Ab.
http://joehacker.blogspot.com.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP12.phx.gbl...
Hi all
I am new to C#
I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
I also finish 6 CD's of the learnkey
I used to use PowerBuilder as a developing Tool, I need to know the
same
things about C#

I need to build my first application, Where to start from ??
Thanks
/WS



Nov 16 '05 #5
Ok, for that you need to explore "class libraries". They compile into dll
files and can be called from all other .net assemblies (exe as well as other
dlls). Basically they are combination of bunch of namespaces (depends on how
many you create) which contains bunch of classes as you write them. They are
very easy to make and very easy to use into other apps.

If you need any more help writing those this group can help.

Ab.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:O4**************@TK2MSFTNGP14.phx.gbl...
Yes, I mean class library for my application(s) to work using it, for
example the printing functionality is done in one class and exposed to all
the application(s)

/WS
"Abubakar" <em**********@yahoo.com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
:-)
when you say "framework" what do you mean exactly? Cuz what now you are
working is called a ".net framework". Do you mean some class library sort
of thing?

Ab.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:uG*************@TK2MSFTNGP12.phx.gbl...
I am Sorry .... I haven't explain myself correctly
What I mean is I have built many frameworks in PowerBuilder, and I want
to do the same in C#
So, What is short and correct way to do the same in C# ....

Thanks
/WS

"Abubakar" <em**********@yahoo.com> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
hi,
You have finished a book AND 6 CDs and havnt written your first program
yet
??? :-)

Well, first you need to download .net framework SDK, which will be the
runtime. The current version is 1.1. get it from :
http://www.microsoft.com/downloads/d...ca6-3647-4070-
9f41-a333c6b9181d&displaylang=en
Install it. Once u r done installing it, you create a new blank text
file
and type (or copy paste) the following:

//----START
using System;

namespace NHello
{
class Cintro
{
public static void Main()
{
Console.WriteLine ("hello world & behold!!!!! This is my first
ever
coolest C# managed assembly.");
}
}
}

//----END

save it as firstflight.cs. Now you need to pass this file's name as a
"command line argument" to the C# compiler which is called csc.exe. Its
located inside your windows directory (%windir%), inside the
"Microsoft.NET\Framework\v1.1.4322" folder. Open a command prompt and
goto
that folder with whatever means possible. and type:
csc firstflight.cs
if you saved your firstflight.cs inside the same folder as csc.exe the
above
statement will compile and produce a firstflight.exe which you can run
from
the same command prompt.

Here you go, you have just made your first .net managed application.

I hope that helps,
Ab.
http://joehacker.blogspot.com.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:e8*************@TK2MSFTNGP12.phx.gbl...
> Hi all
> I am new to C#
> I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
> I also finish 6 CD's of the learnkey
> I used to use PowerBuilder as a developing Tool, I need to know
> the
same
> things about C#
>
> I need to build my first application, Where to start from ??
> Thanks
> /WS
>
>



Nov 16 '05 #6
Yes, I would like someone to show me the way, sort of an example or
something, then I will continue
/WS
"Abubakar" <em**********@yahoo.com> wrote in message
news:O$**************@tk2msftngp13.phx.gbl...
Ok, for that you need to explore "class libraries". They compile into dll
files and can be called from all other .net assemblies (exe as well as
other dlls). Basically they are combination of bunch of namespaces
(depends on how many you create) which contains bunch of classes as you
write them. They are very easy to make and very easy to use into other
apps.

If you need any more help writing those this group can help.

Ab.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:O4**************@TK2MSFTNGP14.phx.gbl...
Yes, I mean class library for my application(s) to work using it, for
example the printing functionality is done in one class and exposed to
all the application(s)

/WS
"Abubakar" <em**********@yahoo.com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
:-)
when you say "framework" what do you mean exactly? Cuz what now you are
working is called a ".net framework". Do you mean some class library
sort of thing?

Ab.

"Waleed Seada" <ds**********@hotmail.com> wrote in message
news:uG*************@TK2MSFTNGP12.phx.gbl...
I am Sorry .... I haven't explain myself correctly
What I mean is I have built many frameworks in PowerBuilder, and I want
to do the same in C#
So, What is short and correct way to do the same in C# ....

Thanks
/WS

"Abubakar" <em**********@yahoo.com> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
> hi,
> You have finished a book AND 6 CDs and havnt written your first
> program yet
> ??? :-)
>
> Well, first you need to download .net framework SDK, which will be the
> runtime. The current version is 1.1. get it from :
> http://www.microsoft.com/downloads/d...ca6-3647-4070-
> 9f41-a333c6b9181d&displaylang=en
> Install it. Once u r done installing it, you create a new blank text
> file
> and type (or copy paste) the following:
>
> //----START
> using System;
>
> namespace NHello
> {
> class Cintro
> {
> public static void Main()
> {
> Console.WriteLine ("hello world & behold!!!!! This is my first
> ever
> coolest C# managed assembly.");
> }
> }
> }
>
> //----END
>
> save it as firstflight.cs. Now you need to pass this file's name as a
> "command line argument" to the C# compiler which is called csc.exe.
> Its
> located inside your windows directory (%windir%), inside the
> "Microsoft.NET\Framework\v1.1.4322" folder. Open a command prompt and
> goto
> that folder with whatever means possible. and type:
> csc firstflight.cs
> if you saved your firstflight.cs inside the same folder as csc.exe the
> above
> statement will compile and produce a firstflight.exe which you can run
> from
> the same command prompt.
>
> Here you go, you have just made your first .net managed application.
>
> I hope that helps,
> Ab.
> http://joehacker.blogspot.com.
>
>
>
> "Waleed Seada" <ds**********@hotmail.com> wrote in message
> news:e8*************@TK2MSFTNGP12.phx.gbl...
>> Hi all
>> I am new to C#
>> I read the 'Oreilly.Programming.C.Sharp.3rd.Edition.eBook-LiB'
>> I also finish 6 CD's of the learnkey
>> I used to use PowerBuilder as a developing Tool, I need to know
>> the
> same
>> things about C#
>>
>> I need to build my first application, Where to start from ??
>> Thanks
>> /WS
>>
>>
>
>



Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: engsol | last post by:
I'm using Python to parse a bunch of s/w test files and make csv files for later report generation by MS ACCESS....(my boss loves the quick turn-around compared to C). Each log file may contain one...
0
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
0
by: henning.friese | last post by:
Hello NG, I'm need to write some code which creates tiff files from various document types (doc, pdf, xls). I want to do this by ShellExecuting (via System.Diagnostics.Process) the doc-files...
8
by: Challenge | last post by:
Hi, I got error, SQL1768N Unable to start HADR. Reason code = "7", when I tried to start hadr primary database. Here are the hadr configuration of my primary db: HADR database role ...
4
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
2
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I have an exe application that I want to start remotely.Once I start the application, I want to press ok to that application. To start the application, I did...
0
by: Yue Fei | last post by:
I have a multi thread python code, threads can start immediately if I run on command line, but I can get them started right the way if I call the same code from C/C++. test code like this: from...
0
by: Vinod Sadanandan | last post by:
Fast-Start Failover An Overview In Dataguard Environment ============================================================================= This article describes the automatic fast start failover...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.