[S2 E2] Chapter 12 - Static / Const / Readonly Modifiers

Veröffentlicht am: 08 Juni 2022
auf dem Kanal: The Code Blogger
184
5

This second episode from season 2 is focussed on explaining the meaning of static / const / readonly kewords from C#.

Do not forget to like / share this content and subscribe to this channel !

#dotnet #csharp #tutorial #beginners #programming #thecodeblogger
-------------------------------------------------------------------------------------------
Timeline
-------------------------------------------------------------------------------------------

Below are the topics covered in this episode:

0:00 What is agenda for this episode ?
0:52 static keyword
1:50 Accessing Instance Members
3:20 Defining Static Members
5:00 Static Members are not part of object !
8:00 Access static members from outside the class !
9:16 Access static members inside the same class !
10:35 Accessing static members inside non-static method !
11:22 Accessing non-static members inside static method !
14:28 Why static constructors are required ?
17:55 What are static classes ?
20:41 const keyword
23:27 Caution: when are using const, always take care of this !
25:33 readonly keyword
27:57 static readonly modifier
29:07 Comparison: static readonly vs. readonly
30:00 Exercises
32:18 Summary

There is also an exercises section which provides some problem statements which you can try on your own.
-------------------------------------------------------------------------------------------

Let's connect on:
Blog - https://thecodeblogger.com/
Twitter -   / choudhari_manoj  
GitHub - https://github.com/manoj-choudhari-git


Auf dieser Seite können Sie das Online-Video [S2 E2] Chapter 12 - Static / Const / Readonly Modifiers mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer The Code Blogger 08 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 184 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!