.NET
  Home arrow .NET arrow Page 2 - Visual C# .NET Part 2: Compiling .NET Code
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

Visual C# .NET Part 2: Compiling .NET Code
By: Michael Youssef
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 47
    2004-06-02

    Table of Contents:
  • Visual C# .NET Part 2: Compiling .NET Code
  • Managed Code vs. Unmanaged Code
  • .NET Framework and .NET Languages
  • Visual Studio.NET and .NET Languages
  • Compiling the Application

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Visual C# .NET Part 2: Compiling .NET Code - Managed Code vs. Unmanaged Code


    (Page 2 of 5 )


     
    When we write .NET code that uses the services, functions, and capabilities of the .NET Framework Class Library (FCL), then we call that code “Managed code” because it’s managed by the Common Language Runtime (CLR). As you know, the CLR manages the execution of .NET programs, and managing the code is one way of managing .NET applications. When we write Managed Code, we don’t care about memory management or handling operating system low-level functions because CLR abstract these details from us and manages them. So writing managed code will improve applications performance.

    You can write “Unmanaged Code” too. It’s the code that is not managed by the CLR, but it’s your responsibility to manage the memory and many other things. CLR can’t control this kind of code, but at the same time this code is a powerful feature because you will gain access to the low-level operating system functions and  maybe will be useful in some circumstances. But the most of us will use the managed code and benefit from CLR management and capabilities.

    C# Overview

    C# was created by Microsoft as the primary language for the .NET Framework. Microsoft designed C# in a way to make it easy for C, C++ and Java programmers to migrate to .NET. C# has roots in C, C++ and Java so this migration is easy for these languages’ programmers. C# syntax not complicated like C++ so learning C# is much easier that C++. Almost all of the operations that you can do with C++ you can do with C# except for the operations that access low-level operating system functions, but you still can do these operations using unmanaged code. C# is the best .NET language because it’s the only language that is designed specially for .NET Framework, and it will be the first language that will support .NET Framework versions on the other platforms.

    .NET Framework Applications

    With .NET Framework we can create any kind of applications that we want, but like the console applications which are simple command-line interfaces without any windows, Windows Applications which are applications with complex interface which contains buttons, menus, text boxes, option boxes and many other visual components. There are also web applications and web services, which are Internet-based applications and the core of Microsoft.NET technologies as we stated before. You will understand the different kinds of .NET applications as you go further in the .NET world. Here we will discuss the first two things (Console applications, Windows applications) only.

    More .NET Articles
    More By Michael Youssef


     

    .NET ARTICLES

    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF
    - Grouping and Aggregating When Querying LINQ ...
    - Commands, Input and the WPF
    - Keyboard and Ink Input with WPF
    - Mouse Input and the WPF
    - Input with Windows Presentation Foundation
    - Introducing LINQ with XML and Databases
    - An Introduction to LINQ
    - Querying LINQ to SQL: Basics
    - Completing a Simple Storefront with LINQ
    - Knowing Your Environment: the System.Environ...
    - Creating the Home Page for a Simple Storefro...
    - LINQ Quickly with Language Integrated Queries

     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT