What is C++ Sharp and C# ?


What is C# ?


C# is a hybrid of c and c++,it is a Microsoft programming language developed to complete with sun's java language.C# is an object oriented programming language use with XML-based web services on the .NET platform and designed for improving productivity in the development of web applications.

The best GUI frameworks for windows applications is windows and WPF together with .NET Framework.the best programming language to work with the .NET Framework and it's APIs is C#.java is not an alternative for this and C++ is an older language without automatic memory management.

Example Of C#


using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, world!");
            Console.ReadLine();
        }
    }
}

Output
Hello, World!


What is C++ ?


C is a computer programming language.That means that you can use  to create lists of instructions for a computer to follow.C is one of thousands of programming language currently in use.

This need let ritchie to develop the programming language called c.In the early 1980's,also at bell laboratories,another programming language was created which was based upon c language.this new language was developed by Bjarne Stroustrup and was called C++.


Example of C++


#include <iostream>
using namespace std;

int main() 
{
    cout << "Hello, World!";
    return 0;
}

Output
Hello, World!


Defference Between C# and C++



1. C#- Full object orriented code resembling the style of C/C++ code. This is really closer to java. C# is the latest version of the style languages and is a very good for developing web applications.that is where object oriented progrmming language become power full.

2. The major difference between c and c++ is procedural pogramming language and does not support classes and objects,while c++ is a combination of both procedural and object oriented programming language; therefore c++ can be called a hybrid language.

3. We mentioned that the two languages are compiled languages that turn your code into binary files. C# has a lot of overhead and libraries included before it will compile. C++ is much more lightweight. Therefore, C# binaries are much larger after it compiles compared to C++.

4. C++ is widely used when higher level languages are not efficient. C++ code is much faster than C# code, which makes it a better solution for applications where performance is important. For instance, your network analysis software might need some C++ code, but performance is probably not a huge issue for a standard word processing application coded in C#.

What is C++ Sharp and C# ? What is C++ Sharp and C# ? Reviewed by Tecnology Funky on November 06, 2017 Rating: 5

No comments:

Powered by Blogger.