OBJECT ORIENTED PROGRAMMING LANGUAGE C#
we jumped on the third generation language in which we
are currently working the sis ha or many more languages. You will find in the
very same context. So as you can see like here we are writing it like C# hash
but what we are pronouncing it we're pronouncing it c-sharp. Why we call it so
basic idea is from the musical background. We're in the western music we have
this notation for the higher nodes. So this hash represents the shop. So we
call it C-sharp. It is founded by anders Helzberg andsteam in Microsoft in
order to create these several types of application supporting object-oriented
programming and many more and this is one of the languages which is supported
by the common language infrastructure that is CLI/.Which allows this language
to be compatible with the application development in dot net framework.
Now let's
see some more features of c-sharp like it is strongly typed means whenever you
will be using any data, you will have to tell the data type of that particular data
like what I am going to process. Whether they are two strings like tutorials
point or whether they are two numbers or which type of data is that may be a
user-defined data type as well. But whatever you are going to process in
c-sharp that must be having a type. So it is strongly type object-oriented. Object-oriented simply means
like when you will be performing programming in C sharp it will also perform
the object-oriented programming. That is the herbs if you don't have an idea
about object-oriented programming. You don't have to worry even if you don't
know anything about programming you are good to start with this C sharp dot net
as we will cover each and every topic which is required to learn you this
programming language properly.
simple hello world program in visual studio:
Now comes to next point component oriented, component
oriented actually ensures that the separation of concerns must be there as
while undergoing the development of an application you may have to perform several
types of tasks so each task must be defined in a separate block that should be
independent of the another block. So that first benefit will be you can reuse
that particular component and second thing is if you will be making the changes
in that particular component, it will not affect the remaining things. So it
should be it is component oriented as well multi-paradigm. Multi-paradigm means
it will undergo the multiple way of creating an application like you can from
the object-oriented programming as well using one of the concepts called link
that is language integrated query. You can make the fetching of data means if
different developers has that different idea of working. They can choose this
c-sharp to make the applications as their own style event-driven. Even driven
is one of the part of application flow that on the basis of events any tasks
will be taken place for example if I have a calculator.
So for that particular
calculator the flow like which numbers are there and which operation you need
to go. It's not predefined. I t all is
defined at the run time when a particular user is clicking on the buttons or
maybe key pressed any particular event. So even Riven is something when A user will
execute a particular application in it. Sown way and it is task driven as well under
this transient thing. You will see like some asynchronous programming is going
on like if some particular task is of higher priority. We will execute that before
be any other thing and here you can see a sample program like how your c-sharp
programming will look like. So basically it's a simple program.
1 Comments
best article
ReplyDelete