0% found this document useful (0 votes)
12 views

C# Assignment - 01

C# is considered a high-level language because it provides a high degree of abstraction from hardware details, making development easier. It is simpler than C/C++ but offers performance benefits for embedded systems and performance-critical applications. C# code is compiled into an intermediate language and runs on the .NET Framework.

Uploaded by

anon
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

C# Assignment - 01

C# is considered a high-level language because it provides a high degree of abstraction from hardware details, making development easier. It is simpler than C/C++ but offers performance benefits for embedded systems and performance-critical applications. C# code is compiled into an intermediate language and runs on the .NET Framework.

Uploaded by

anon
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Varad Bivaclr

PAGE Na.

C# DATE:/

AssTGNMEN No01

Q iscaled los oidlle leve!


Jaagaage as high lanel lanquage)
langaage
cllos la:ddle Jewl Jangnge

becausa paácas a bigt dagroo ot casbol


avrer the harare eaaf making
closer to the rhite tie CPU

TE alaes diect manipulation of meman


addes & poiaters hichmakec iatermetias
clasot haduare & emnog

embeddad setemi &perfooance -cxttical


applicatisns

C# (high leved aguage)


"AAis Coasicbxed a hiyhleel Jaoguage
bacareit ahstato man Io -lened dota
deuslapex
manageacnt jei qakagecallectian
Code is
Campiled iata intmedate
language hid paidas a layas afabstacka
betusnhe cade &hardesae
thoct
siaplty most tosk huch matar doxeloproat
fr w de Gf cpplicakisns ke
easy
Aeb aeplicatisas desktop eplatian gacmas

2 wht a the eatses of C Ct C#2


Ans o Foatires ofC

- Proedeal Language as k facuc

Las-lexel accec to memibyy dhaxclsne alaing


fioe conbal a r Syste
asc has minimaliste Syat
- Siaplicity
and s
EREieog
eabeddl sytopesfanLe cnhcalapplzsfiaat
et
-Fates ofCtt

oeated pngrncamag feaheec


Classes&Objetalouseazapsatia
iahentaacA &pslaaphicen
(STL)proicas
Standod Japbt datastnuctes
makiag
algorthsCasy to daelap
eacknd Cepabiliy
backsord Cornpatihla wfth
4aw can inclde cCacle nCtt,

efficien4 &ik sed in perfasnce


Catical apphatio.

-CtE is poaanlOhject -Oneatal Janquage chich


iacluces
Ssfae dasign
TMaoaged Codei st nos on the NET
Lwhich incdes featre ika
garbagecalatisn &atatie memnL

affers ik aa of prg- buitdassas


cdarses
1ibranes
ct is staticall hyped &paackr shm
hpe chacking fa catch ers at Caspile

- Cress Platform Jotodetia


o f , NET Core
DATE:/ /

tha clata
632ht are the data types Suppated foy
CCtt & c language?

Basic Data Zpes


3)float
2)cha 4) deulle

-Dened Date yper


3) uoion
22 Stct

" Clase Data Tpes


1) clarr 2) stang
2) booleuo

Stancbd Tamplata af
3 Map
22 ist 4) set

Yalue Tpes

23 chay
3) sbact
3) flact
dobe
S) docimad
iotege
nba ()aterak
Cttyze ikaC& laagaaqesdpaater Ta
paclaakias 29
teocatisn preetng
preeatha number
acoiqseedsss
namputat whichisa dataia has
a pioece Eren
Addesc 2Mesm
of
blcke alacated depaaiLaly addresces
af
e&manage
he foioters
orts7 paoterre hau
thei poatexs
& the are hct QA
Ays
StOhiets
aag 3)
2)
1)class
ypes Roforene "
/ DATE:/
PAGE Na.
DATE: / /

3) Taitializtioa
To make a poatex point ts spectic
ocatiao, you can assiga tha
addye ss oF a agable

eg.

7setsptr to the adhors of th


XYapable
4) Aceessing he valse
To access tho vahe t he Memant scata
de sefeAceoet ( )

int value pty

1o (Hhe rale stored in X


DATE:

betenC CHtR c# 2
QS Diffexenco

C+t
C#

DCis pckderad Ctt seppots


ohiect
praaming bath paadonl ao
Janauage & ohiect -Oiented Oneated lauage

manageeat
proidec io Ctt
hut darelepev callactn
also use

allacatin
39CHas a ligited C+ incudos ha
LStndavd_Jnolate staodascd lbaas
standardbrany
that idos basic Liban which
ootons ofForsDSalarihd ido yenge
pre hsilt dasses
easier ckanelapnat
42 C ala level iatisl
Janguag eay pactabla aadLiidoslpd
xeaie maditicotiooaflen used fo lassaciated ih
whesadog betnn ass platfoirn ujodaas butat
h.NET Core
difetent hardwara 2ualapcet
2os. bas hecame
More CYOSS

plata
ni stang apphatios
ete systam mbedded
hae Ik NET douelagak
ASA Game ecasyctomfor ad
awelapsot cant established
ueb wiel aHas &
a mattyindas actie deccdas
ban 5)Chus
DATE:
Na
PAGE

You might also like