0% found this document useful (0 votes)
38 views12 pages

C# Codes

Uploaded by

zandile
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
38 views12 pages

C# Codes

Uploaded by

zandile
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
(i Basies Cheat Sheet (1 of 4) ecaaranew am Introduction 1. Tied mnt er ego sur ocpn tarry are Visual studio (v5) tne Ow cri pp taste nae ga thet eens rane elope Hallo Worl (a he Console) eee cos stata ane oe Shccrerneu Smet comments eset common anguage ante) as ier eats tw se Cas b(t rea ay et ‘ecanpir ors Ar npg tergsnte oc oreee ns ova Ca campiato rate macs oe ecie ova (anoeno One ‘secre Pay earl 8. Cn compe Variable Deration and Asignment Setptnedstensrrcpene heme Datatypes ae Ss = | Sav Ee Inennerenifesinesinte eign fine he {itcaae oma seagate beret ya oer sree eso) Sepalarsemsinte ert meer! = ¥ Ee scone pwr {encom ns tiny ety arene ee Woloonefeto pel weet cnt aectng een es Soe orsbet cungece Pugh ne win et neers htreweretneame sb Wehuete ct fae referer pesicentnes cons tieesirpaactanyenencn oxen are) eae ieee eee ons ing ne eye twelve apo Rat te Sop mak Shebace tour one ER egg pe i Basies Cheat Sheet (2 of 4) ecaranewam scape Sequences ‘hao Wena agenesis usp any Unease ane = Constant Fredo ot tp Neotel show Iason Acree cote spe ton nme en Expressions eternal ects ae. Thesnges de ot ‘ernest operators len an rte) fey noe posses ote er mee. Some pt nausea ‘troponin sb sn omar Sagas ope ithe Tete epewr ote taper whe tcrpuronosrt pentose ote athe lot an ee set nd tae) toe ster sek sn pS Qo Mecmet a ‘ we Tete > Eee i. § $e" aS y Hoe iF & i ge of & TL onder Hy’ val et Sette gies oa Stan dria Pert are lige stone seers pee eeu ie The using Directive stringBuléer Stone Seeber Segal’ non nuestros {ip tl an ee (ove urtet fyocbaesutcswegmangastens {Sas etre to matyt ve Sereb: hee ator ‘Seats erase Yas sone:hrheaowe re ‘manors nn tral hee mreanas, arrays atria ra yt Rectangular & Jagged Arrays ‘imo feemenoseprasbys comm ge aren wert ote a (i Basies Cheat Sheet (3 of 4) ecaranew am sepia ames BEL. Sh. Eien BS = Ba? = fair oon Sab Sera ore re ce HR value sap 9 Enumerated Type ‘ann Yoven ne aerial) ype ‘ttn. t5beFine tyr (scone), “Safty. The object cass (hjeckcnhewntut stots tere Patter Toveancere seam le tewehtbe struct ayer Att ‘Mier molt ret sno enenne pen sana (i Basies Cheat Sheet (4 0f 4) eenanrewam The Regex class cas eno egress ees fe Medsttenens — Aemmenig at 08 Tea Anvdgtverctes (bam 02 (eo) AySSyicromas eels 0 Ieotar tmacgetomes ——[oa}simnsneiin tno Comparison Operators ‘Movantyondton teats totee orenfrs preset ops ists Scotia dain it doen iL esr ons sespeter spams soe Um Directory 10 Debussing bien nett epost pting ter nhat teins tan keaton my agree wae uit darwin crs ocean rota hea ‘th cers Youess manag your apart esa gpsias tay aca ta ade youre ron eter sat tt ck Nuset Package Manager thei topes comme pratt (orl seacoast sn tific sews yuto pars WM bree Your Own Library (Assembhy) [atReemelnennarsa Whe jet het steer. Yovrsed pete compe wena seny ‘ne snnon Sa Salo oe hk be cH OOP Cheat Sheet (1 of 4) ecaaraneweam ‘Object-oriented Programming (OOP) ‘crated gang (00 2 peng arg a einem hse stan ‘Saueacsan cn sngnceatl cae Ering choad ME ‘abner nt Va Ob Bows Programming Principles ‘Settee ang ot a i rea ‘ihe nom epenengen tanta ohh specs Simpl Class Declaration T oubie | pratectes | srterrat | private 1 [ tistrct [seats [state] ‘ange classooe Eilat interacesIntersted 08 1 Sverre ctor sneer sen oe are ome ace emi ta ‘ostract clases ean mnie nani ‘Stret naman tow tees memset aye Sealed Classes Siento a hy ad ‘hereon ger mune nae dene yee cnand con sonal sgn ety enero ak ‘loco md ue ade i epee Methods {orem esas ram omechereoeln pags ttn woy teres aod ce ‘nn loalacs nay oa congo est access soetiers [Ststieqvirtnfoerrelneseaeastroce ‘etc tne (praetor ee) they ‘Seven peony sth donate h Teton det (cH OOP Cheat Sheet (2 of 4) ecoarnewam ma Terral | snenkyoreny daoredonnes Benet Properties pp decade uth eet eas Popes ats xo oie er ey eer ao ave setenv fale fase Sua separa wes oe ‘object intiazation Syntax Indexes {orate inden oa rope a hi, pcg he ‘Seta ah canines paca Pndictauenesewse coe toermatortyoe thie ‘oe porany =.) nescesnapet sear ucece Inertance ‘ietinianterenentesronth cede rua hose" ‘Sinn ster sams smeane owner sseg ane Constructor inhertance cH OOP Cheat Sheet (3 of 4) ercoaraneweam composition eka Containment) Consent te freaterang (ms Tbetwre wo ce, ry ttre nosh (enact sone the Tove a mnbu teu ‘ae cosy nersoce team eh ampe| ‘Scorn tacoma reer Inga athaig tec acct cnc cis eg, secre ea tc ron Composition vs inhertance Seoennecomsreestote sone Secon soenng Envi aa Siig tr ena ae relwcrvousontwertopte Wehner at ‘al lemma re comple mare any eae Method Overiding & Polymorphism ‘erat tha payor ene clicSatese) sor rari hi Ios cre Interfaces tte tat tse Acs sat einen te iotuny nevar ses cntshet hon oreanos dea iar teter a aaa Sinecaueane tran me nsementne totes yeoman Nore Sane Seeger ae cH OOP Cheat Sheet (4 of 4) ercoaranewam Interfaces & Extensbity She dept on erste Spal tre Weceremenie wees ese mares ‘eae sb Far ema! ‘Stop ndsoan one oboe mesoiterethe oe, Interfaces & Testability Une merorerebwth ntartng Talent ony ‘ew nce nae post par ey he Pos estar: fase aie gramme 50-50 So alone: f.08 Zrceqewsto tes the Jounatoster) eae Testo sees» Aces Pr ek catecrttngoaing cn oar ‘Advanced Cheat Sheet (1 of 4) epcaaranewam Generics etn ene econo et ee se Satncangeraton ifn nce hvebanobe epee fbi wont e esta. Shee rs ea mre rate nest oun eee cts maken caugn he crus oto thera 690) ct tte eso"? wesc mbes nisin ote sore Iaccabehn nhs tt pete hrc They ‘Shirt dames) we aoeesring Funce> and Actione> ‘Sime diacyaten or Settee sine gate in re ‘Advanced Cheat Sheet (2 of 4) egcasranewam ‘Anonymous Types [tanonrour yore ng cacao yo teat ‘uses on wont, ose huey ‘Swed yan veer} oechng prone ona Lambda det nc as oe ana Foss we srohnes smo oprosue he meee {evens stanhepaionshen spon age dl ee adept ene ste) eens 3 Sennen anya nc Areibuter ‘cnn yh tao nei uy Preprocessor Directives ‘ct Advanced Cheat Sheet (3 of 4) egcaaranewam tension Methods fametenitetenpesticnerca bron mcs at tuna {ie aren ue cats nase neon ajo mary a care Seba aon te eceatewhener eco ats te ‘tert er mabe Ate ‘MisineleQ esingimrrtauie) Sneleg) stowow se ‘erinesSonbunpcnf torte ma Te Oot table Types. Ueahn ces epee toed he? ‘than workin wi alae oes Coevalverbefaciet) the Dynamics ‘ecg age iter dr hd ine [Skate cinta cole ete eed oe ‘ts oc when con tom eames ‘termine be roman berms omee (CH Advanced Cheat Sheet (4 of 4) oehann coin Asmchronous ins gnomes mal prem city ae revere ned eg medeaes meron ‘bere ean Meas os eae eu eovaros mda nant meer scar itr exyne anon eyares mosremmle vent pa aarti eprint rover neta peer coe sre ‘eta oye aero pen occ ee mete exception Handling Wereecscstonhosing colette ntande eter Tetra ‘og ti ces taba th an ‘ingens meae arena one ane tm frearau annie popoptsing sree et Hops har (Seiten tnt ges er Surteluercec mated cle interes see ‘ager son att at tae ein apa Recorion Inerongr enter ea shale

You might also like