TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
About Encapsulation
Share
facebook
twitter
linkedIn
Reddit
Topics
No topic found
Content Filter
Articles
Videos
Blogs
News
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Naveed Zaman (5)
Aman Gupta (3)
Jitendra Mesavaniya (3)
Amr Monjid (3)
Sanjay Kumar (2)
Lokendra Singh (2)
Ajay Kumar (2)
Ayush Gupta (2)
Sardar Mudassar Ali Khan (2)
Ashish Bhatnagar (2)
Mukesh Kumar (2)
Sukesh Marla (2)
David Mccarter (2)
Sekhar Srinivas (2)
Jasminder Singh (1)
Uday Dodiya (1)
Vipul Kumar (1)
Vijay Yadav (1)
Sreenath Kappoor (1)
Siddhesh Chavan (1)
Rajesh Pawde (1)
Amit Tyagi (1)
Pankaj Patel (1)
Kiran Mohanty (1)
Vikas Singh (1)
Rishabh Bhardwaj (1)
Prasad Raveendran (1)
Divyansh Gupta (1)
Debasis Saha (1)
Ziggy Rafiq (1)
Sandeep Singh Shekhawat (1)
Pradeep Shet (1)
Dhanapal Chandran (1)
Sourav Kayal (1)
Vijay Kumari (1)
Alkesh Bijarniya (1)
Nilesh Jadav (1)
Ehsan Sajjad (1)
Mark Pelf (1)
Jagannath Sethi (1)
Scott Zimmerman (1)
Gurpreet Arora (1)
Nitesh Jha (1)
Pradeep Vaishya (1)
Murphy Ochuba (1)
Manish Agrahari (1)
G Gnana Arun Ganesh (1)
Mohit Kala (1)
Usama Hafeez (1)
Tusharkant Agarwal (1)
Sean Franklin (1)
Ankur Mishra (1)
Aashina Arora (1)
Sandeep Sharma (1)
Abhishek Dubey (1)
Arkadeep De (1)
Ashish Kumar (1)
Jinal Shah (1)
Atul Sharma (1)
Ammar Shaukat (1)
Ibrahim Ersoy (1)
susanta pradhan (1)
Vithal Wadje (1)
Gopi Chand (1)
Matthew Cochran (1)
Akash Bhimani (1)
Prabhu Kumar Kambhampati (1)
Mahesh Chand (1)
Related resources for Encapsulation
No resource found
Encapsulation vs Abstraction in C#
10/21/2024 9:52:41 AM.
Encapsulation and abstraction are fundamental concepts in C# and object-oriented programming. Encapsulation refers to the bundling of data and methods that operate on that data within a class, promoti
Implicit vs Explicit Interface Implementations
10/16/2024 10:06:32 AM.
This article explores the differences between implicit and explicit interface implementation in C#. It explains how to implement an interface in two ways using classes, highlighting the accessibility
Factory Method Pattern: Simplifying Object Creation in C#
9/17/2024 4:01:43 AM.
The Factory Method Pattern is a creational design pattern that delegates object creation to subclasses, promoting flexibility and maintainability. It defines an interface for creating objects but lets
Difference between lock(this) and lock(privateObj) in C#
8/22/2024 5:27:38 AM.
In multi-threaded C# programming, the lock statement ensures that critical code sections are accessed by only one thread at a time. While lock(this) locks on the current instance, it can expose your o
Understanding Access Modifiers in .NET Core
8/13/2024 5:25:10 AM.
Access modifiers in .NET Core control the visibility and accessibility of classes, methods, and variables. They include Public, Private, Protected, Internal, Protected Internal, and Private Protected.
Abstract Data Types(ADT)
8/6/2024 3:46:21 AM.
Abstract Data Types (ADTs) are a fundamental concept in computer science, representing data structures defined by their behavior rather than their implementation. ADTs provide a way to model data and
Detailed Explanation of Builder Design Pattern in C#
7/22/2024 6:26:29 AM.
The Builder design pattern is a creational pattern used to construct complex objects step by step. It separates the object's construction from its representation, allowing for varied configuration
Object Oriented Programming in Python
7/19/2024 5:03:08 AM.
Object Oriented Programming in Python" delves into the principles and concepts of OOP using Python. This guide covers classes, objects, inheritance, polymorphism, and encapsulation, providing pra
Factory Design Pattern
7/18/2024 2:52:28 PM.
The Factory Design Pattern in Java is a creational pattern used to create objects without specifying the exact class of object that will be created. It promotes loose coupling by separating object cre
Bridge Design Pattern
7/18/2024 2:51:39 PM.
The Bridge Design Pattern in Java separates abstraction from implementation, allowing them to vary independently. It promotes decoupling by creating a bridge between abstraction and its implementation
Encapsulation, Inheritance, and Polymorphism in C#
7/18/2024 10:38:48 AM.
In this article, we will learn how to encapsulate data for security, leverage inheritance for code reuse, and implement polymorphism to create flexible and scalable applications.
Polymorphism Concept OOPS
7/16/2024 6:58:21 AM.
Polymorphism in C# involves method overloading (multiple methods with the same name but different parameters), method overriding (subclass provides specific implementation of a method in the parent cl
Methods and Properties in C#
6/23/2024 9:46:10 PM.
In C#, methods and properties are fundamental constructs used to define the behavior and state of objects. Understanding how to create and use methods and properties is essential for effective C# prog
Pillars Of OOP/Overview Of OOP
6/17/2024 10:50:44 AM.
In this article you will get an overview of OOP. A programming model which is mainly organized around the objects is called Object Oriented Programming.
Facade Design Pattern In C#
6/13/2024 11:52:32 AM.
C# Facade Pattern is used in hiding complexity of large systems and provide simpler interfaces. In this article, we will understand what Facade Pattern is and when and how to use a facade pattern in C
Understanding Access Modifiers in Java
6/13/2024 8:47:52 AM.
Explore the intricacies of Java access modifiers with this comprehensive guide. Learn about public, private, protected, and default access levels, their roles in encapsulation and access control, and
OOPS Interview Questions - C#
6/7/2024 10:31:18 AM.
Here is a list of the most popular OOPS interview questions and answers explained. These OOPS interview questions are for both beginners and professional C# developers.
C# Basic OOPs Concepts
6/4/2024 12:47:27 PM.
"Basic OOPs concepts in C# involve classes, objects, inheritance, encapsulation, and polymorphism. It includes access modifiers, constructors, and destructors, along with method overloading and o
Hide Base Class Members in C# .NET with new Keyword
5/30/2024 7:05:09 AM.
In C# .NET, the new keyword allows derived classes to hide members of a base class. This technique, known as member hiding or shadowing, is used to define a new implementation for a member without ove
Learn Object Oriented Programming Using C#: Part 2
5/24/2024 8:57:02 AM.
Discover advanced Object-Oriented Programming techniques in C# with our comprehensive Part 2 guide. Master inheritance, polymorphism, encapsulation, and more. Learn to create robust classes, utilize i
Learn Object Oriented Programming Using C#: Part 5
5/24/2024 8:55:43 AM.
Delve deeper into Object-Oriented Programming with C# in Part 5 of our series. Explore advanced concepts like inheritance, polymorphism, and encapsulation, empowering you to build robust and efficient
Learn About Components of a Class in C#
5/20/2024 6:28:23 AM.
In object-oriented programming, a class serves as a blueprint for creating objects. It encapsulates data and behavior, facilitating code organization and abstraction for secure, reusable solutions in
Strategy Design Pattern in .NET
5/14/2024 6:36:26 AM.
In .NET, the Strategy design pattern is a behavioral pattern that allows you to define a family of algorithms, encapsulate each one of them, and make them interchangeable. This pattern lets the algori
Object Oriented Programming Using C#: Part 9
5/13/2024 11:52:47 AM.
Explore advanced concepts in C# Object-Oriented Programming (OOP) in this ninth installment. Dive into topics like inheritance, polymorphism, encapsulation, and more. Learn how to leverage these princ
Mastering OOP in C#: A Real-World Project Journey
5/13/2024 4:57:51 AM.
Explore Object-Oriented Programming in C# through a practical journey. Learn key concepts like inheritance, polymorphism, and encapsulation while working on real-world projects. Master C# development
C# Inheritance: Basics and Practical Examples
5/10/2024 8:50:33 AM.
Inheritance in C# allows classes to inherit properties and behavior from other classes, facilitating code reuse and creating a hierarchy of classes. Beginners learn to establish relationships between
Learn About SOLID Principles
5/7/2024 11:24:48 AM.
SOLID principles are fundamental to object-oriented design, ensuring code is clean, maintainable, and scalable. Learn SRP, OCP, LSP, ISP, and DIP for robust, flexible software architecture.
What is Closure in Python & its Use Cases?
4/25/2024 7:31:56 AM.
Python closer is not a built-in function or concept. However, in programming parlance, a closer typically refers to a function that captures and remembers its surrounding state (including local variab
Learn Angular 8 Step By Step in 10 Days – View Encapsulation (Day 6)
4/17/2024 9:35:52 AM.
Embark on a 10-day journey to master Angular 8 with a comprehensive tutorial series. Day 6 delves into View Encapsulation, exploring how it enhances component styling, encapsulation modes, and practic
Code readability is enhanced with C# 10 top-level statements
4/16/2024 10:18:02 AM.
Ziggy Rafiq discusses tackling challenges in software component specification standards through the implementation of solutions such as adapters and bridges for standard mediation, abstraction and enc
Understanding Structs(Structure) in C# With Employee Example
4/13/2024 5:19:00 PM.
In C#, a struct (short for structure) is a value type that encapsulates data and behavior related to a single concept. Structs are used to represent lightweight objects that typically contain a small
C# Propertie Implementation, Types, Examples, and Best Practices
3/29/2024 6:38:03 AM.
C# property is a member of a class that allows the class to expose some functionality without exposing the implementation details. This article explains what a property is in C#, why we need properti
Object Oriented Programming With A Real-World Scenario
3/28/2024 10:35:38 AM.
This article explores the significance of real-world scenarios in understanding Object-Oriented Programming (OOP) for young programmers. It discusses the four pillars of OOP - abstraction, encapsulat
How to Use Modular Pattern in Javascript
3/20/2024 9:43:37 AM.
In this article, we will learn how to leverage the Modular pattern in JavaScript for better code organization and scalability. By encapsulating code into separate modules, you can achieve separation o
Fundamentals of Unit Testing: Don’t Test Your Private Method
3/5/2024 10:35:09 AM.
In this article, we will discuss the very controversial and important topic of whether the testing of a private method or private function is ethical.
Understanding View Encapsulation in Angular
3/2/2024 2:48:56 PM.
View encapsulation in Angular refers to the mechanism used to control how component styles are scoped and applied within the application. Angular provides three types of view encapsulation: emulated,
Object Oriented Programming In Java
2/29/2024 4:57:24 AM.
Object-oriented programming is the basic term of any programming language like Java. Object-Oriented Programming (OOP) in Java, covering concepts like Class, Object, Inheritance, Abstraction, Encapsul
What is a Wrapper Component in React?
2/9/2024 7:36:01 AM.
Wrapper components in React.js refer to components that encapsulate other components or elements within them. They are commonly used for various purposes such as styling, behavior modification, contex
Creating a Java Package - Hands-On Guide
1/5/2024 5:27:48 AM.
In my preceding article, we delved into the foundational understanding of Packages and their significance in Java programming. Now, building upon that knowledge, this article aims to provide a practic
ASP.NET Core Web API with 3-Tier Architecture and Iterator Pattern
10/19/2023 6:27:35 AM.
The Iterator Pattern is a behavioral design pattern that provides a way to access elements of a collection sequentially without exposing its underlying representation. It defines an interface for acce
Simplest Way To Learn Object Oriented Programming
10/6/2023 7:18:47 AM.
This article provides the sImplest way to learn Object Oriented Programming.
Encapsulation in C#: Understanding and Implementing Data Protection
10/3/2023 8:44:36 AM.
In this article, we'll explore the significance of encapsulation in C# and demonstrate its implementation with practical examples.
Types Of Properties In C# Programming
9/22/2023 7:28:05 AM.
This article explains the types of properties in C# programming.Learn about the various types of properties in C# programming, including read-write properties, read-only properties, and write-only pro
Mapping ViewModel To Model Using Implicit Conversion Operator In C#
9/18/2023 9:08:46 AM.
Mapping a ViewModel to a Model in C# using an implicit conversion operator is a technique used to simplify the process of transferring data between these two related classes. ViewModels are typically
Closures In C# Demystified
9/15/2023 6:25:45 AM.
Closures In C# Demystified" is a concept that helps clarify the behavior of closures in the C# programming language. A closure is a function that captures variables from its outer scope, allowing
Pillar of OOPS (Object Oriented Programming)
9/6/2023 8:08:58 AM.
This article explores the fundamental pillars of Object-Oriented Programming (OOP): Encapsulation, Abstraction, Polymorphism, and Inheritance. It provides detailed explanations and real-world examples
Alternative Simplified C# Property Syntax
8/29/2023 4:58:12 AM.
When I first read about properties in C#, I was a bit excited and a bit confused. I was glad to see so many inventions, including properties, designed to help programmers be more productive.
View Encapsulation in Angular
8/28/2023 5:02:57 AM.
Uncover Angular's View Encapsulation: Control Styles and Components. Discover how Angular's View Encapsulation isolates styles and behaviors, enhancing modularity and reusability in web develo
Stored Procedure in Snowflake
8/10/2023 6:44:12 AM.
A Stored Procedure in Snowflake is a precompiled set of SQL and/or JavaScript code that can be stored in the Snowflake database and executed later as a single unit. It allows you to encapsulate comple
C# Abstract Classes: Definition, Usage With Example
8/7/2023 5:24:16 AM.
Learn all about C# Intermediate Abstract Classes in this comprehensive guide. Understand the concepts, usage, and benefits. A must-read for C# developers aiming to enhance their skills. Click to becom
Encapsulation And Abstraction, Same Or Different?
6/2/2023 9:24:44 AM.
A lot of developers have varying views on whether or not Encapsulation and abstraction are the same. This article presents a subtle difference between them.
Object Oriented Programming Concepts in C# (2023)
2/12/2023 4:44:58 AM.
This article defines OOPs concepts in C#. The key OOPs contents are abstraction, encapsulation, inheritance, and polymorphism. Learn how to implement OOPs concepts in C# and .NET.
Difference Between "RUNTIME" Class And "CLASS" Class
1/30/2023 6:49:42 AM.
The Runtime class encapsulates the runtime environment. In a running java application, the instances of this class encapsulates the run time state of an object.
Encapsulation In C#
1/28/2023 5:43:19 PM.
Encapsulation is one of the key properties of an object-oriented programming language. In this article, you'll learn the basics of Encapsulation in C#.
Encapsulation In C#
11/30/2022 9:39:07 AM.
In this article you will learn about Encapsulation in C#.
Object Oriented Programming Using C#: Part 10
11/18/2022 5:50:57 AM.
There is a very basic difference between encapsulation and abstraction for beginners of OOP. They might get confused by it. But there is huge difference between them if you understand both the topics
C# Understanding Encapsulation And Abstraction
8/16/2022 4:51:26 PM.
In this article, you will learn about C# Encapsulation and Abstraction.
Object-Oriented Programming Simplified With C# And .Net 5
6/28/2022 4:40:35 PM.
This article is about the general concepts of Object-Oriented Programming with examples in c sharp programming language.
Object Oriented Concepts in C#
11/15/2021 11:29:30 AM.
In this article we will discuss key concepts of object orientation with their practical implementation in C#. We will discuss here basics of OOPS including Interfaces, Access Modifiers, inheritance, p
Encapsulation In Java
1/22/2021 5:31:47 PM.
In this article, you will learn everything about encapsulation, including getter/setters and Data hiding mechanism.
How To: "Private" In JavaScript (ES6) Classes
5/13/2020 9:01:14 AM.
In this article, I cover briefly how you can achieve true private accessibility in JavaScript (ES6) classes.
JavaScript Object
4/14/2020 4:12:44 PM.
In this article you will learn about JavaScript Object.
Implement Object Oriented Programming in JavaScript
4/6/2020 4:37:40 AM.
In this article we will discuss how to implement encapsulation in JavaScript to achieve reusability.
Is Python Object Oriented?
2/12/2020 3:56:46 AM.
This article will describe whether Python is Object Oriented or not. You will get to know about the OOPS concepts used in Python with details.
OOP Principles In Java
9/18/2019 5:37:32 AM.
In this article, we will discuss Object Oriented Programming (OOP) principles in Java. We will also discuss its features in detail i.e polymorphism, inheritance, encapsulation and abstraction.
Encapsulation in Java
7/29/2019 3:35:01 AM.
In this article, we are going to describe how can use encapsulation in programming terms of java. So we are first describing what the meaning of very popular concept encapsulation.
Difference Between Encapsulation And Abstraction In Object Oriented Programming
5/14/2019 10:31:04 AM.
In this article, you will learn about the difference between encapsulation and abstraction in object-oriented programming.
Basic Object Oriented Programming (OOP) Concepts
5/7/2019 3:47:19 AM.
In this article you will learn about the basics of Object Oriented Programming (OOP).
View Encapsulation In Angular
3/11/2019 8:34:27 AM.
In this article, we will see what actually view encapsulation is in Angular, and how it works
Abstraction Vs Encapsulation In OOPS
1/23/2019 11:35:56 PM.
This is a basic example of Abstraction vs Encapsulation we read in books, but it becomes very confusing when you try to search them online and explain from a technical perspective.
Proper Type Encapsulation - Part Two
8/2/2018 9:09:54 AM.
In part 1 of this article, I explained how to implement proper data encapsulation. In part 2 I want to talk about encapsulating business logic. I see this missing in a lot of type design, especially w
Proper Type Encapsulation - Part One
5/29/2018 3:27:13 PM.
Encapsulation is one of the fundamentals of OOP (object-oriented programming). It refers to the bundling of data with the methods that operate on that data. Encapsulation is used to hide the values or
An Overview Of Polymorphism, Inheritance And Encapsulation In OOP
11/18/2016 4:37:53 AM.
In this article, you will learn an overview of polymorphism, inheritance and encapsulation in OOP.
Introduction to JDBC
8/2/2016 3:01:27 AM.
In this video we will Understanding Introduction to JDBC.Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a client m
OOP In WinJS #5 : Encapsulation
4/19/2016 11:04:37 AM.
In this article, I'll be talking about how to use Encapsulation in WinJS library. This is Part 5 of the series.
Brief About OOPs Concepts In C#
10/7/2015 4:47:42 AM.
In this article, I will demonstrate you an overview of object oriented programming language. Here I will explain what class, Encapsulation, Abstraction, etc. is.
OOP Overview
7/21/2015 3:05:49 PM.
This article explains Object Oriented Programming (OOP).
what is meant by data encapsulation
5/8/2015 1:16:46 AM.
In this Video i will be explaining about one of the most frequently asked questions on .NET i.e. What is meant by Data Encapsulation with clear explanation watch the video and understand the meaning of Data Encapsulation and understand the difference between abstraction and encapsulation so that you can answer the question easily when it is asked in the Interview.
Encapsulation in C#
6/9/2014 4:38:02 AM.
In this article we will learn about encapsulation in C#.
Encapsulation in Java
5/5/2014 10:17:21 AM.
In this article we will discuss one of the main object oriented concepts in Java, encapsulation.
Writing Better Code; Keeping it Maintainable
2/4/2014 1:34:30 PM.
This article provides guidance for writing better, more maintainable code.
The Second Pillar of Object-Oriented Programming - Inheritance
11/30/2013 11:56:34 AM.
In this part of the object-oriented programming series I will introduce the second pillar of object oriented programming (inheritance); you will see how to use inheritance to create classes based on existing classes.
Object Oriented Programming in C#.Net
10/16/2013 11:14:09 PM.
This article defines Object Oriented Programming in C#.Net.
Whidbey C# IDE Features
10/4/2012 9:34:58 AM.
An overview of the new IDE features introduced in Visual Studio 2005 codename Whidbey.
ASP.NET Best Practices
9/3/2012 7:52:27 PM.
In this article we will explore some of the best practices in ASP.NET development.
The first pillar of object-oriented programming - Encapsulation
5/9/2008 8:32:05 AM.
In this article we will start with Encapsulation, the first pillar of OOPS, you will learn the benefits of encapsulation and why to use it, you will learn how to enforce encapsulation by using (accessor and mutator) and by using properties.
Introduction to object oriented programming
5/9/2008 8:29:47 AM.
This article will provide you an overview about the object-oriented programming main pillars (Encapsulation, Inheritance, and Polymorphism).
Refactoring in Visual Studio 2005
9/1/2006 1:18:45 AM.
Refactoring allows developers to use the built-in feature of Visual Studio to rename and convert and change the signatures and definitions of a class members. In this article, I will show you how refactoring feature provided by Visual Studio 2005 can be a handy tool when you are reorganizing or optimizing your existing projects.