Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
C# getters & setters ๐Ÿ”’
Play lesson

C# tutorial for beginners ๐ŸŽต - C# getters & setters ๐Ÿ”’

5.0 (6)
48 learners

What you'll learn

This course includes

  • 4 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

C# getters and setters encapsulation tutorial example explained #C# #getters #setters //getters & setters = add security to fields by encapsulation // They're accessors found within properties // properties = combine aspects of both fields and methods (share name with a field) // get accessor = used to return the property value // set accessor = used to assign a new value // value keyword = defines the value being assigned by the set (parameter)

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere