Tuesday, July 3, 2012

what is COOL? ==> C#

using System;
namespace HelloWorld
{
  class Hello 
  {
    static void Main() 
    {
       Console.WriteLine("What is COOL?");
       Console.WriteLine("Of course, C# is COOL!");
       Console.WriteLine("Press any key to exit.");
       Console.ReadKey();
     }
  }

Behind the Creation of C#

      It was Microsoft that developed C# for the new .NET platform as an alternative to Java, inspired as it by C++, Delphi and Java. Its development team is led by Anders Hejlsberg with Scott Wiltamuth, and Peter Golde in 1999, and officially announced the official name C# in July 2000.

'COOL' to 'C#'

     According to Anders, C# was originally called COOL, which stood for C-style Object-Oriented Language, and the team liked the name. However, the trademark lawyers do not seem to like it, so the language naming committee needed to revise it. They wanted to have a reference to the language's C heritage in the name, and finally settled to C#. Anders recalled that oher candidates for the name were e-C, Safe C, C-square, C-cube, C-star, and Cesium. Anders mentioned that he is pretty happy that they chose C# as the name of the language.     

All about C#

      C# is a multi-paradigm programming language that is encompassing object-oriented programming principles, garbage collection, strong type checking, and array bound checking. It is intended to be a simple, modern, general-purpose, object-oriented programming language.
     Since C# was developed in .NET platform, it can be mixed with other languages in the platform like C++, Pascal, Python, Java, Cobol and Fortran. Because of this, they can share same objects.
     C# is one of the programming languages designed for Common Language Infrastractures (CIL). It compiles into an intermediate language called Common Intermediate Language (CIL), which runs on a virtual machine called Common Language Runtime (CLR).
    The language was standardized by ECMA-334, which gives the C# language specifications, along with ISO (ISO/IEC 23270:2006).

          A new form of iterator in C# employs co-routines via a functional-style keyword similar to the one found in the Python language.
  1. Anonymous methods provide closure functionality.
  2.  Generics or parameterized types support some features not supported by C++ templates such as type constraints on generic parameters. However, expressions cannot be used as generic parameters as in C++ templates. In constrant to the Java implementation, parameterized types are first class objects in the virtual machine, allowing for optimizations and preservation of type information.
  3. Nullable types facilitate interaction with SQL databases. Sample nullable type declaration: int? variableName = null;
  4. Partial types allow the separation of a class implementation into more than one source file. This feature was implemented primarily so Visual Studio generated code can be kept separate from developer code.


Opinions on C#

Instructors Say...


"It's a good alternative for an OO development, especially on a windows platform. And that's because of the .NET framework on windows.

Pero on other platforms, there are other OOPLs that can scale better."

- Sir Allister Alambra 

"First, C# supports internationalization. Serious developers are now separating  their english form their apps. Second, C# is general-purpose like Java, meaning you can develop almost any app using C#. Disadvantage though is the performance. Just like Java, it is slower than most specialized languages. Third, C# is mature enough to have an IDE, so it has a good support for developers. Making it easier to develop apps in shorter periods of time. Also there are considerable volumes of libraries you can already use just like Java."
- Sir Rommel Bulalacao

Students Say...

"C# can be easily learned even with just a bit of basic object-oriented programming. There would be no problem adapting with the syntax. It's also programmer-friendly and gets the job done (UI particularly)."                 -Maritess Verana

"C# is a powerful yet simple programming language since it combines the capabilities of C, C++, and Java together with the features of Microsoft Visual Basic, thus allowing numerous tasks to be accomplished in a simpler way."                                               - Frances Camille Ventocilla

"Madaling gamitin lalo na sa pagggawa ng UI kasi drag and drop. Tapos para sa mga sanay sa Java, adaptable ang C# kasi halos apreho lang din ng syntax."  
                                                  - Emmanuel Misolas

"Easy to use! Okay gamitin kung kailangan ng UI."  
                                                  - Rizianne Veluz





Contributed by:
cmsc124T group

GROUP MEMBERS
Maritess Verana | 2010-43032
Regina Arellano | 2008-56620 
Frances Camille Ventocilla | 2009-64533
Rizianne Veluz | 2010-05862
Emmanuel Misolas | 2006-35661

Thanks to
     Sir Rommel Bulalacao     Sir Allister Alambra

References

      Morris, Richard. (19 March, 2009). "Anders Hejlsberg: Geek of the Week". Simple-talk. Retrieved from http://www.simple-talk.com/opinion/geek-of-the-week/anders-hejlsberg-geek-of-the-week/, July 03, 2012.
            C#: The Java of Microsoft. Scriptol Retrieved from http://www.scriptol.com/programming/csharp.php, July 03, 2012.
         C_Sharp_Language.jpg. Retrieved from http://www.computermindservice.com/logo/C_Sharp_Language.jpg, July 03, 2012.
            Hello World -- Your First Program (C# Programming Guide). Retrieved from http://msdn.microsoft.com/en-us/library/k1sx6ed2.aspx, July 04, 2012
        Standard ECMA-334: C# Standard Specification(4th ed.). Ecma International. June 2006. Retrieved from http://www.ecma-international.org/publications/standards/Ecma-334.htmJuly 03, 2012
  Sanskruti. (2007, April 7). Overview of C#. Retrieved September 30, 2012, from Go4Expert:http://www.go4expert.com/forums/showthread.php?t=379
Al
        
Al

No comments:

Post a Comment