C# Using - Explained for dummies (and Pros)

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • 🔥 Ever seen the USING keyword used within methods and didn't know what that was? Well, do we have the video for you! And yes, for you who already knows about it as well! There is some important stuff in this video you don´t wanna miss!
    🚀 SKYROCKET your C# skills and become a sought-after C# web developer with our C# Progress Academy: academy-tutorials.eu/csharp-p...
    📚 Or do you like to learn through BOOKS more? Our TINY C# PROJECTS BOOK!
    mng.bz/M5an
    We'll make sure to turn you into a true developer in no time!
    Timestamps:
    00:00 Introduction
    00:15 What is the using keyword?
    02:24 This one is for you!
    01:06 Using the using statement
    02:52 Another syntax for the using statement!
    04:14 Our own using statement to control our Connection
    05:39 Thanks for watching!
    C# Using - Explained for dummies (and Pros)
    So, what is C#?
    C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.
    C# is an object-oriented, component-oriented programming language. C# provides language constructs to directly support these concepts, making C# a natural language in which to create and use software components. Since its origin, C# has added features to support new workloads and emerging software design practices. At its core, C# is an object-oriented language. You define types and their behavior.
    And what is ASP.NET?
    ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies.
    And what is the using keyword?
    The using statement defines a scope at the end of which an object will be disposed.
    The using directive creates an alias for a namespace or imports types defined in other namespaces.
    The using statement provides a convenient syntax that ensures the correct use of IDisposable objects. The await using statement ensures the correct use of IAsyncDisposable objects. The language supports asynchronous disposable types that implement the System.IAsyncDisposable interface.
    To learn more, make sure to watch the video, and we promise you that you'll become a better developer by the end of the video! Have fun!
    And thank you LAKEY INSPIRED for these amazing songs that we use in all our videos! @LAKEYINSPIRED
    #csharp #coding #tutorial #learn #microsoft #net #using #keywords #statement
    TAGS
    c#,.net,c-sharp,csharp,programming,visual studio,c sharp,learn c#,c# programming,c# tutorial,c# for beginners,learn c# programming,c# course,tutorial,coding,.net core,c# using keyword,microsoft mvp,nick chapsas,keyword,dotnet,clean code,using keyword in c#,using c# keyword,using keyword,game development,software engineering,unity scripting tutorial,c sharp tutorial,core,how to code,development,.net interview questions,what is c#,dot net,C# Using
    TutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
    This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
    Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
    C#: / @tutorialseuc
    Facebook: / tutorialseu-1093802040...
    LinkedIn: / tutorialseu
    Discord: / discord

КОМЕНТАРІ • 3

  • @sergeymigel4680
    @sergeymigel4680 2 місяці тому

    Thank you, bro

  • @johnmaloney1681
    @johnmaloney1681 2 місяці тому

    The problem here is knowing what needs to be disposed. You can say "resources", but then what qualifies a a resource? A connection object? A SqlDbCommand object? A SqlQueryParameter object? What makes a FileStream object a resource and how does a dev know whether a FileInfo or File object is also a "resource"?

  • @Pwn-ki8zb
    @Pwn-ki8zb 6 місяців тому

    Thx