De ultieme samenvatting van C#(Voor HBO-ICT Windesheim SE2) om een 10 te halen! Ik heb deze samenvatting geschreven zodat iedereen uit mijn klas het begreep en de mensen die het gelezen hadden hebben ook gemiddeld 2 punten hoger gescoord dan de rest. Ik zelf had een 10 op dit vak. Object Oriented S...
,Inhoudsopgave
Belangrijke tutorials in dit document.....................................................................................................3
Week 1...................................................................................................................................................4
Begrippenlijstje...................................................................................................................................4
How to defineer..................................................................................................................................4
Array...............................................................................................................................................4
foreach...........................................................................................................................................4
List..................................................................................................................................................4
Properties en data validatie............................................................................................................5
Methode overridable maken..........................................................................................................5
Constructor chaining......................................................................................................................5
How to Cast........................................................................................................................................6
Week 2...................................................................................................................................................7
Debugger tools...................................................................................................................................7
Breakpoints & stepping......................................................................................................................7
Locals en watching..............................................................................................................................7
Advanced breakpoints........................................................................................................................8
Inheritance.........................................................................................................................................8
Overriding...........................................................................................................................................8
Generics..............................................................................................................................................8
Interface uitlegje....................................................................................................................................9
Handig voor unit testen......................................................................................................................9
Ondersteunt multiple inheritance....................................................................................................10
Week 3.................................................................................................................................................11
Delegates..........................................................................................................................................11
Multicasting delegates..................................................................................................................12
Events...............................................................................................................................................13
Week 4.................................................................................................................................................15
Xaml snippet lijstje voor bij je examen #copyPaste..........................................................................15
GRID..............................................................................................................................................15
Nog een voorbeeldje....................................................................................................................16
Afhandelen van user events.............................................................................................................17
How to messagebox.........................................................................................................................18
How to custom dialogbox.................................................................................................................18
Nullable types...................................................................................................................................18
, How to creeer eigen custom eventargs............................................................................................19
XAML vormpjes tekenen...................................................................................................................21
Line en Rectangle..........................................................................................................................21
Ellipse tekenen..............................................................................................................................21
TextBlock en fonts........................................................................................................................21
Objecten manipuleren met transforms........................................................................................21
Week 5.................................................................................................................................................23
Types in c#........................................................................................................................................23
Value types.......................................................................................................................................23
Wanneer struct of Class....................................................................................................................23
Reference types................................................................................................................................23
Vindt dat hele memory hoofdstukje een beetje bullshit..................................................................23
2d arrays in C#, 2 varianten..............................................................................................................24
Rectangular array.............................................................................................................................24
Jagged arrays....................................................................................................................................25
Enums...............................................................................................................................................25
Exeption handling.............................................................................................................................26
Unit testen........................................................................................................................................26
Week 6.................................................................................................................................................27
Anonymous delegate........................................................................................................................27
Lambda expressies (λ))......................................................................................................................27
Meerdere parameters..................................................................................................................27
Lamda die alleen iets uitvoert......................................................................................................27
Lambda cheat sheet.........................................................................................................................28
Action delegate.................................................................................................................................28
Func delegate...................................................................................................................................29
Func met statement(if,for,foreach)..............................................................................................29
Predicate<T> Delegate......................................................................................................................29
Lamda en bodys van functions.........................................................................................................29
Lambda methodes met List<>..........................................................................................................30
LINQ..................................................................................................................................................30
Take method.................................................................................................................................31
Ordenen........................................................................................................................................31
Anonieme types............................................................................................................................31
Let.................................................................................................................................................32
LINQ en Deferred execution.............................................................................................................32
, Week 7.................................................................................................................................................33
Entity framework..............................................................................................................................33
How to Entity Framework.................................................................................................................33
C# datatypes naar SQL datatypes.................................................................................................36
Belangrijke tutorials in dit document
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller jessedegans. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $16.88. You're not tied to anything after your purchase.