473,748 Members | 10,889 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Recommended C# books for beginners?

Hi all. I was hoping some of you could recommend a book or two that
would help me get started with the basics of C#. I have a slight
knowledge of programming, but basically I want to start out like I know
nothing, so I don't skip anything.

I considered Microsoft Visual C# .NET Step by Step 2003 by Sharp/Jagger,
but then I read a few reviews and it doesn't sound so good. I have XP
Home, and I plan to buy only Visual C#, not Visual Studio, and I heard a
lot, if not all, the examples requires Studio.

I found this book at Thomson Learning (www.course.com):Microsoft Visual
C# .NET Programming: From Problem Analysis to Program Design by Doyle,
and it seems like a good introduction (but then again, so did the one
above). It also has the option of purchasing C# Standard with it.

Later I might read Beginning C# Game Programming by Penton, since game
development interests me very much.

But basically I'd like to start out with a general book that explains
all the basics of C# and that will allow me to start developing
applications (not necessarily web-based, or games, just basic apps).

Thanks!
Nov 16 '05 #1
18 13925
The Express editions of VS.NET 2005 Beta 1, including VC#, are free at this
moment and probably will remains free in the future:
http://lab.msdn.microsoft.com/expres...p/default.aspx

S. L.

"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:ss******** ************@rc n.net...
Hi all. I was hoping some of you could recommend a book or two that would
help me get started with the basics of C#. I have a slight knowledge of
programming, but basically I want to start out like I know nothing, so I
don't skip anything.

I considered Microsoft Visual C# .NET Step by Step 2003 by Sharp/Jagger,
but then I read a few reviews and it doesn't sound so good. I have XP
Home, and I plan to buy only Visual C#, not Visual Studio, and I heard a
lot, if not all, the examples requires Studio.

I found this book at Thomson Learning (www.course.com):Microsoft Visual C#
.NET Programming: From Problem Analysis to Program Design by Doyle, and it
seems like a good introduction (but then again, so did the one above). It
also has the option of purchasing C# Standard with it.

Later I might read Beginning C# Game Programming by Penton, since game
development interests me very much.

But basically I'd like to start out with a general book that explains all
the basics of C# and that will allow me to start developing applications
(not necessarily web-based, or games, just basic apps).

Thanks!

Nov 16 '05 #2
Sylvain Lafontaine wrote:
The Express editions of VS.NET 2005 Beta 1, including VC#, are free at this
moment and probably will remains free in the future:
http://lab.msdn.microsoft.com/expres...p/default.aspx


Would I be losing any functionality if I got the Express Edition of C#
as opposed to the current version in stores (C# .NET 2003)? Is this just
a sample of the 2005 release, or is it a full version?
Nov 16 '05 #3
If you go to www.microsoft.com and browse to the Visual Studio homepage, you
can find a table that lists the specific differences in functionality
between the different Visual Studio packages.
"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:re******** ************@rc n.net...
Sylvain Lafontaine wrote:
The Express editions of VS.NET 2005 Beta 1, including VC#, are free at
this moment and probably will remains free in the future:
http://lab.msdn.microsoft.com/expres...p/default.aspx


Would I be losing any functionality if I got the Express Edition of C# as
opposed to the current version in stores (C# .NET 2003)? Is this just a
sample of the 2005 release, or is it a full version?

Nov 16 '05 #4
John Salerno wrote:
Hi all. I was hoping some of you could recommend a book or two that
would help me get started with the basics of C#.
I am learning C#. The C# books that I have so far are as follows:

1. "Programmin g In The Key Of C#, A Primer For Aspiring
Programmers" by Charles Petzold
2. "Programmin g Microsoft Windows With C#" by Charles Petzold
3. "Inside C#" by Tom Archer

Book #1 is for the beginner. Although I have programmed in Smalltalk,
Java and C++, I enjoyed reading the book because each software lan-
guage has its own nuances, and I want those identified and explained
to me from the start. Sure, I fell asleep sometimes when I covered
material similar to Java and C++, but the explanations about the way
things happen with the stack and the heap kept me attentive.

When I was learning to program C++ on the Win32 API, I used "Program-
ming Windows 95" by Charles Petzold. This book was invaluable. Thus,
the same goes for book #2. So far, I have only scratched the surface
of knowledge in book #2 with programming Forms.

For me, book #3 is for when I have advanced questions, like setting
up a conditional attribute for debugging. I will read it thorougly
after I have finished with the first two books.
I have a slight
knowledge of programming, but basically I want to start out like I know
nothing, so I don't skip anything.
With this statement, buy book #1 above.
I considered Microsoft Visual C# .NET Step by Step 2003 by Sharp/Jagger,
but then I read a few reviews and it doesn't sound so good. I have XP
Home, and I plan to buy only Visual C#, not Visual Studio, and I heard a
lot, if not all, the examples requires Studio.
Hmm. I started programming back in the days of punch cards. The only
software language IDE that I loved was Smalltalk, otherwise, I revert
back to being a command line programmer. The IDEs for Java and C++
were too much overhead for me. After learning C# from the command line,
I am going to have to get Visual C# .NET 2005 to try it to see if I
like it or not.

My advice to any C# beginner is to write at least one or two small con-
sole or GUI programs using the command line before advancing to the
Visual C# IDE.
I found this book at Thomson Learning (www.course.com):Microsoft Visual
C# .NET Programming: From Problem Analysis to Program Design by Doyle,
and it seems like a good introduction (but then again, so did the one
above). It also has the option of purchasing C# Standard with it.

Later I might read Beginning C# Game Programming by Penton, since game
development interests me very much.
I have "Managed DirectX 9 Kick Start: Graphics and Game Programming"
by Tom Miller in the mail to me. I bought this book based on recommen-
dations.
But basically I'd like to start out with a general book that explains
all the basics of C# and that will allow me to start developing
applications (not necessarily web-based, or games, just basic apps).


I do not think that you will find one book that will fit your needs.
You will need, two or three, maybe more. As a computer book junkie
myself, I am just trying to get the ones that are the right fit for
me.

Good luck,
Doug
Nov 16 '05 #5
Doug Arnott wrote:
I do not think that you will find one book that will fit your needs.
You will need, two or three, maybe more. As a computer book junkie
myself, I am just trying to get the ones that are the right fit for
me.


Thank you very much for the recommendations . Just one question: when you
say start out using the command line to program, what exactly do you
mean? Is that just downloading the free software, before I actually buy
the full version?
Nov 16 '05 #6
Yes, you will lose the capabilities of distributing your applications to or
accessing other machines; however, for a learning purposes, it will be
perfect.

Don't forget that they are still Beta versions and that if you want to
install one of the RTM (Release to Market) editions later, it is possible
that you will have the obligation of restoring your OS from a backup or to
reinstall it completely. Beta versions are beta versions.

S. L.

"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:re******** ************@rc n.net...
Sylvain Lafontaine wrote:
The Express editions of VS.NET 2005 Beta 1, including VC#, are free at
this moment and probably will remains free in the future:
http://lab.msdn.microsoft.com/expres...p/default.aspx


Would I be losing any functionality if I got the Express Edition of C# as
opposed to the current version in stores (C# .NET 2003)? Is this just a
sample of the 2005 release, or is it a full version?

Nov 16 '05 #7
Sylvain Lafontaine wrote:
Don't forget that they are still Beta versions and that if you want to
install one of the RTM (Release to Market) editions later, it is possible
that you will have the obligation of restoring your OS from a backup or to
reinstall it completely. Beta versions are beta versions.


I've never heard of that before. You mean I can't just uninstall it?
Nov 16 '05 #8
John Salerno wrote:
Thank you very much for the recommendations .
Your welcome.
Just one question: when you say start out using the command line to program,
what exactly do you mean?
Start -> Programs -> Accessories -> Command Prompt

Will open a Command Prompt window. Inside a Command Prompt window, one
enters commands on a line, thus, command line. The Command Prompt window
has its ancestry from the MS-DOS days. Some examples of commands are as
follows:

cd c:\ change the directory to the c: drive
mkdir csharp make (or create) the directory of csharp
rmdir csharp remove (or delete) the directory csharp
cd csharp change the directory down into csharp
cd c:\csharp change the directory into csharp on the c: drive

cd .. change the directory up one level
cd ..\.. change the directory up two levels
Is that just downloading the free software, before I actually buy the full
version?


I downloaded and installed the following two software components:

Microsoft .NET Framework Version 1.1 Redistributable Package
http://www.microsoft.com/downloads/d...displaylang=en

Microsoft .NET Framework SDK Version 1.1
http://www.microsoft.com/downloads/d...displaylang=en

From my understanding, the download of this SDK includes the full compiler,
that is, this compiler has the same functionality as in the Visual C# .NET
2003. Maybe, SDK Version 1.1 has a later subversion release than the one in
Visual C# .NET 2003. Maybe not. At this point, I am not concerned. I have
plenty to learn using SDK Version 1.1 before advancing to SDK Version 2.x
or Visual C# .NET 2005.

The Visual C# .NET 2003 is an Integrated Development Environment (IDE).
The reason for an IDE is to provide an integration of tools such as editor,
compiler and debugger. However, sometimes, an IDE can have an overload of
visual components or be too helpful to the point of being annoying or dis-
tracting. Plus, I like to know what all the files are and how they fit to-
gether, and often an IDE tries to remove the user from these files and
their locations.

As a command line programmer, I created the following files in my c:\csharp
directory using the Notepad text editor:

1. HelloWorldCon.c s
2. HelloWorldWin.c s
3. setup.bat
4. compc.bat
5. compw.bat

The HelloWorldCon.c s file contains the following:
class HelloWorldCon
{
static void Main()
{
System.Console. WriteLine("Hell o, World");
}
}

The HelloWorldWin.c s file contains the following:
class HelloWorldWin
{
public static void Main()
{
System.Windows. Forms.MessageBo x.Show("Hello, World");
}
}

The setup.bat file contains the following line:
PATH=%PATH%;C:\ WINDOWS\Microso ft.NET\Framewor k\v1.1.4322

NOTE: The setup.bat file above contains the path to the C# compiler
and may differ depending on installation and version.

The compc.bat file contains the following line:
csc /target:exe HelloWorldCon.c s

The compw.bat file contains the following line:
csc /target:winexe HelloWorldWin.c s

With the above files in the c:\csharp directory, execute the following
commands in the c:\csharp directory to compile and run the console
application:

setup
compc
HelloWorldCon

If everything is done correctly, "Hello, World" will appear in the
Command Prompt window following the running of the HelloWorldCon.e xe
file.

Note: Execution of the setup.bat file needs only be done once at the
start in a new Command Prompt window to establish the path to the com-
piler inside of the Command Prompt window.

For the window application in HelloWorldWin.c s, run the command of
compw on the command line, but, to run this Windows program, one needs
to double-click the icon of the HelloWorldWin.e xe file.

Some tricks in the Command Prompt window:

1. use the Up arrow key to scroll through previous commands.
2. use the Left arrow key to position the cursor on the text, and then
use the Insert key to toggle text insertion on and off.

The above should be enough for first time experimentation , and for you
to see how to develop console and window applications using the command
line. Now, you need a beginners book and more experimentation to learn.

Good luck,
Doug
Nov 16 '05 #9
Uninstalling Beta versions are often very troublesome. Myself, I've be
unable to remove completely a previous version of Whidbey that I had
installed.

I don't know about the latest versions of Whidbey or of the Express
versions.

S. L.

"John Salerno" <jo******@NOSPA Mgmail.com> wrote in message
news:3p******** ************@rc n.net...
Sylvain Lafontaine wrote:
Don't forget that they are still Beta versions and that if you want to
install one of the RTM (Release to Market) editions later, it is possible
that you will have the obligation of restoring your OS from a backup or
to reinstall it completely. Beta versions are beta versions.


I've never heard of that before. You mean I can't just uninstall it?

Nov 16 '05 #10

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

Similar topics

6
2262
by: Huy | last post by:
Generic PHP newbie question here. May anyone please recommend books that have gotten you started on PHP (interfacing with MySQL is a plus) & also reference books? Just looking for some good quality books to purchase.
4
2019
by: Jammer | last post by:
I'd like to start learning PHP. I'm confident in programming several other languages, so I don't necessarily want a dummy's guide. Can someone recommend a few books and links on the web? Doing a search on the net bris back TOOOO many results, hence my asking.
0
1328
by: Bruno Lienard | last post by:
Look at the recommended books about Python, by the IBM developerWorks site: http://devworks.krcinfo.com/WebForms/ProductList.aspx?Search=Category&id=1400&p=OpenSourceProjects So, a lot of Python books, a lot of "new books". Bruno Lienard
8
1333
by: Fredrik Wahlgren | last post by:
Hi I'm currently learning .NET. I need to know more about the .NET framework. The only book I have found for C++ programmers is one by Kate Gregory. What other books are there for C++ programmers? TIA, Fredrik
2
1310
by: Marsden | last post by:
This probably gets asked a lot but what are the best books a newbie to VBNET with little to no programming experience should be reading to get well acquainted with the language. Any thoughts on the following: Microsofts Step by Step, Sams VBNET, Microsofts Coding Techniques for VBNET. Thanks Marz
7
1623
by: steve | last post by:
Hi All Can anybody recommend a good book covering POS.net for vb net 2005 Any websites with info on the above also appreciated Regards Steve
11
1465
by: tom | last post by:
I'm learning VB.NET 2 after years working with VB6 and finding it a challenge. Are there any books/online training soures that you'd recommend for programmers making the transition to .NET and v2 in particular? I'm having trouble getting to grips with a lot of the concepts and different ways of doing things (eg how to handle references to third party dlls, how/whether to use namespaces, security issues and on and on). TIA
7
1974
by: Jack | last post by:
Any recommended books on PHP-MYSQL with serious examples in c++? Regards Jack
8
2668
by: shweta khare | last post by:
Hello!....am a beginner in the field of computer science and programming.Am persuing my computer science engineering course and hav jst begun wid C programming language.Am using the book "Let Us C" by yashwant Karnetkar which assumes no prior programming background and am really finding it helpful.But I did like to kno which books are recommended for a beginner in C language.Would u please give suggestions for the same and also at which stage...
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9370
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2782
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.