Exforsys

Online Training

How to compile C# Class

This is a discussion on How to compile C# Class within the Microsoft .NET forums, part of the Programming Talk category; Hello I am new into this, so please go soft on my question. I am having .Net Studio 2003 installed ...


Go Back   Exforsys > Programming Talk > Microsoft .NET

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2006, 09:32 AM
Junior Member
 
Join Date: Feb 2006
Posts: 15
Sesen is on a distinguished road
How to compile C# Class

Hello

I am new into this, so please go soft on my question.
I am having .Net Studio 2003 installed on my system,
I have created a simple "sample.cs" class file, Question is
How do i comple and run the above C# class file?

Please Help!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2006, 09:38 AM
Junior Member
 
Join Date: Feb 2006
Posts: 8
nickole is on a distinguished road
if you are using visual studio, you should be able to create a project with class and use build option.....

It's pretty straight forward thing to do in Visual Studio .NET....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-18-2006, 01:17 PM
Junior Member
 
Join Date: Feb 2006
Posts: 15
Sesen is on a distinguished road
Nickole

Actually I am still a learner and I am learning thro a book, it states to use command "CSC sample.cs" at command prompt. How do i accomplish this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-27-2006, 03:16 PM
Member
 
Join Date: Apr 2006
Posts: 85
cbdarts is an unknown quantity at this point
Lightbulb

Well, usually while working with C#, most books recommend using the .NET Studio. It is rather unusual that they are asking you to use CSC, since that has been outdated now.

In the new versions of .NET, CSC.exe is not used at all, in fact the compiler and interpreter are combined into one.

Personnally, I recommend you install VS.NET on your machine, and then use the Development environment for your learning, it makes it much easier. Follow the code examples from the book, but avoid the command line method, its too tedious when you're starting out.

Chaitanya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Defference between new & Class.newInstance() ajagania Java Tutorials 1 06-13-2005 05:21 AM
Scientist/Engineer - ISRO-Nellore - B.Tech/M.Tech(Mech/ECE/EEE/Aerospace..etc) techguru Freshers Jobs 0 05-13-2005 09:45 AM
about winrunner mangalsachin2002 Testing Tutorials 2 03-27-2005 06:10 AM
.Net Interview Questions Pramodm Interview Questions 12 08-07-2004 08:48 PM


All times are GMT -4. The time now is 02:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.