Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Differences between Variable Instance and Reference | C#.NET Tutorial | Mr. Bangar Raju

140.9K views
•
September 10, 2016
by
Naresh i Technologies
YouTube video player
Differences between Variable Instance and Reference | C#.NET Tutorial | Mr. Bangar Raju

TL;DR

This video explains the difference between a variable, an instance, and a reference of a class, and how they are used in programming.

Transcript

welcome to nervous technologies am bangarraju and in this video I will demonstrate you about the difference between variable of a class instance of a class and reference of a class these three are three important things what we are required to learn as a programmer what is it first one variable of a class second instance of a class and third the re... Read More

Key Insights

  • 👤 A class is a user-defined data type and serves as a blueprint for creating objects.
  • 🏛️ Variables of a class are uninitialized copies and cannot be used to access class members.
  • 👶 Instances of a class are initialized copies created using the "new" keyword and have their own memory allocation.
  • 🏛️ References of a class are initialized copies created using an existing instance and share the same memory as the instance.
  • 👶 Memory allocation for instances is done using the "new" keyword.
  • 🐕‍🦺 Modifications made on the members through instances reflect when accessed through references and vice versa.
  • 🏛️ Instances of a class can be created using the "new" keyword followed by the class name.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is a class in programming?

A class is a user-defined data type that serves as a blueprint for creating objects. It defines the structure and behavior of the objects that belong to it.

Q: How are variables of a class different from instances of a class?

Variables of a class are uninitialized copies and cannot be used to access class members. Instances of a class, on the other hand, are initialized copies created using the "new" keyword and have their own memory allocation.

Q: How can you create an instance of a class?

Instances of a class can be created by using the "new" keyword followed by the class name. This allocates memory for the instance and initializes it.

Q: What is a reference of a class?

A reference of a class is an initialized copy created using an existing instance. It shares the same memory as the instance and can be used to access class members.

Key Insights:

  • A class is a user-defined data type and serves as a blueprint for creating objects.
  • Variables of a class are uninitialized copies and cannot be used to access class members.
  • Instances of a class are initialized copies created using the "new" keyword and have their own memory allocation.
  • References of a class are initialized copies created using an existing instance and share the same memory as the instance.
  • Memory allocation for instances is done using the "new" keyword.
  • Modifications made on the members through instances reflect when accessed through references and vice versa.
  • Instances of a class can be created using the "new" keyword followed by the class name.
  • References of a class can be used to access class members, just like instances.

Summary & Key Takeaways

  • A class is a user-defined data type and serves as a blueprint for creating objects.

  • Variables of a class are uninitialized copies and cannot be used to access class members.

  • Instances of a class are initialized copies created using the "new" keyword and have their own memory allocation.

  • References of a class are initialized copies created using an existing instance and share the same memory as the instance.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Naresh i Technologies 📚

SQL Server Management Studio - SSMS Part-2 | SQL Server Tutorial thumbnail
SQL Server Management Studio - SSMS Part-2 | SQL Server Tutorial
Naresh i Technologies
How to Work with SQL Server and Introduction to SSMS Part-1 | SQL Server Tutorial thumbnail
How to Work with SQL Server and Introduction to SSMS Part-1 | SQL Server Tutorial
Naresh i Technologies
Java Multithreading Enhancement | by Mr. Hari Krishna thumbnail
Java Multithreading Enhancement | by Mr. Hari Krishna
Naresh i Technologies
Data Science Capstone Project | Naresh IT thumbnail
Data Science Capstone Project | Naresh IT
Naresh i Technologies
Constructors Part 4 | Static Constructors vs Non Static Constructor | Mr. Bangar Raju thumbnail
Constructors Part 4 | Static Constructors vs Non Static Constructor | Mr. Bangar Raju
Naresh i Technologies
Introduction to LINQ in C# | LINQ (Language Integrated Quer) | C#.NET Tutorial | Mr. Bangar Raju thumbnail
Introduction to LINQ in C# | LINQ (Language Integrated Quer) | C#.NET Tutorial | Mr. Bangar Raju
Naresh i Technologies

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.