What is Encapsulation?

preview_player
Показать описание
1. Full .NET Interview Course

C# / ASP.NET Core / MVC / API - Top 500 Interview Questions

Don't worry if course not helping you, Udemy has 30 days Free Refund Policy.

2. Quick Revision Book (PDF format)

Top 500 .NET Interview Questions - OOPS/ C#/ ASP.Net/ MVC/ SQL /.Net Core /Web API

50% Discount Applied on above link.

My best wishes are with you.
Рекомендации по теме
Комментарии
Автор

Amazing answer and video. Thank you sir!

mrawesome
Автор

Hello Happy I have a doubt in this encapsulation you said wrapping data and methods then example for data is understandable and i couldn't not understand how methods/functions are encapsulate in a class

sreenubabusreeram
Автор

Hi Happy, Thanks for explanation but what is the difference between encapsulation and abstraction?

rameshbabug
Автор

Good explanation. But encapsulation is actually more about Data Hiding, not Wrapping.

-ck
Автор

So at the end you provide and example of violation so What will be the consequences of violating encapsulation in the current example and as a general as well plz explain this as well??

aamersaeed
Автор

very very very very good and thanks from heart

qherfpo
Автор

Could you pls explain authentication process in web api. Web api is stateless, so where authentication will be stored and retrieve?

nathiyamani
Автор

Can we use multiple web api in our project and how to get methods front each web api?

nathiyamani
Автор

Excellent explanation. Thank you so much. But how about this:
public string Name { get; set; }
Is this property encapsulated or not? Please advise. Thanks in advance.

imadabab
Автор

How to generate token based authentication in web api and where will it store?

nathiyamani
Автор

Sql table has millions of records, how do we get all records and display in ui page

nathiyamani
Автор

Once authentication will be successful, what msg will be return in web api?

nathiyamani
Автор

Hi happy,
Please try to give clear explanation, your just saying what is there in online tutorials. Give any proper examples

ezhil