Encapsulation
It is defined as the wrapping up data and method into single unit.
Encapsulation helps to protect data by hiding it.
Variable is declared as private.
Public getter and setter methods are defined.
----------------------------------------------------
Interview Questions and Answers
How to achieve encapsulation using properties?
Variable needs to be declared as private.
Public getter and setter methods should be defined.
------------------------------------------------------
------------------------------------------------------------------------
C Sharp playlist: https://youtube.com/playlist?list=PL0NK-I6qJ8KwEBEZdF-Q81eKfwDl5HVf_&si=TlhTsVYYRCwtQmat
Subcribe: https://youtube.com/@Micah_Tech
Instagram: https://www.instagram.com/micah_tech/
GitHub: https://github.com/Kirubason
whatsapp: https://wa.me/919360586730
-------------------------------------------------------------------------
tag
.Net framework, ASP.Net, ADO.Net, Linq, Parallel Linq, Visual Studio, VB.Net, Web API, Web services, WCF, WinForms, MVC framework, .Net core, ASP.Net core, MVC .Net core, Visual Studio Code, Visual basics, C# Programming language, CLR, compiled code, Tutorial, interview question and answer, C# demo, freshers and experienced job search, coding in .Net, Entity framework, oops concepts, object-oriented programming language
#மைக்காடெக் #micah #kirubason #கிருபாசன் #MicahTech