Dynamic Vs Var in C#
Newsletter signup (with exclusive discounts): https://signup.iamtimcorey.com/ (your email will be kept safe and you will not be spammed). Facebook Page: / iamtimcorey Want to see a full C# application built from scratch? Check out this course: https://iamtimcorey.com/courses/cshar... There is a lot of confusion around what the dynamic and var types are and when to use them. This video clears that up. Whether you need to know it for a job interview or just to use them properly, this video will show you what they are, why they exist, and when to use them. 0:00 - Intro 0:40 - basic difference explained 3:51 - dynamic auto type conversion and why not to use it 7:07 - examples of how dynamic may fail you at development and fail your application 15:05 - method return type 17:01 - why and when: dynamic 19:02 - why and when: var 24:57 - var as anonymous object and summary

Interfaces in C# - What they are, how to use them, and why they are so powerful.

SQL Stored Procedures - What They Are, Best Practices, Security, and More...

C# Dependency Injection with Autofac

C# Yield Return: What is it and how does it work?

Design Patterns: Single Responsibility Principle Explained Practically in C# (The S in SOLID)

How Netflix Uses Java - 2026 Edition

C# Async / Await - Make your app more responsive and faster with asynchronous programming

lofi hip hop radio 📚 beats to relax/study to

Intro to WebAPI - One of the most powerful project types in C#

Design Patterns: Interface Segregation Principle Explained Practically in C# (The I in SOLID)

Delegates in C# - A practical demonstration, including Action and Func

Master the Design of Functional Types in C#

Where are types allocated in .NET and why people get it so wrong

Intro to WPF: Learn the basics and best practices of WPF for C#

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Intro to Windows Services in C# - How to create, install, and use a service using Topshelf

Handling Exceptions in C# - When to catch them, where to catch them, and how to catch them

Are events in C# even relevant anymore?

Intro to Yield in C# - What it is, how to use it, and when it is useful

