Parvesh
Parvesh
  • 76
  • 1 277
C# - Part 74 - TrimExcess, AsReadOnly, TrueForAll, ForEach Methods of List - Tutorial For Beginners
Important Methods -
TrueForAll()- Returns true or false depending on whether if every element in the list matches the conditions defined by the specified predicate.
AsReadOnly() - Returns read-only wrapper for the current collection. Use this method, if you don't want the client code to modify the collection i.e. add or remove any elements from the collection. The ReadOnlyCollection will not have methods to add or remove items from the collection. You can only read items from this collection.
TrimExcess() - Sets the capacity to the actual number of elements in the List, if that number is less than a threshold value.
ForEach() - Executes a specified action on each element of the list.
มุมมอง: 4

วีดีโอ

How to install JetBrains Rider on Windows 11 For Free
มุมมอง 462 ชั่วโมงที่ผ่านมา
Download URL : www.jetbrains.com/rider/download Download, install and use JetBrains Rider For FREE
C# - Part 73 - Difference between dictionary and list with real example - Tutorial For Beginners
มุมมอง 1816 ชั่วโมงที่ผ่านมา
Dictionary: Key-value pairs: A dictionary stores data as key-value pairs. Each key must be unique within the dictionary, while values can be repeated. Efficient lookup: Dictionaries are optimized for efficient lookup of values based on their keys. This makes them ideal for scenarios where you need to quickly retrieve a value given a specific key. Hash-based: Dictionaries typically use a hash-ba...
C# - Part 72 - Sorting Complex Data Types with IComparable Interface - Tutorial For Beginners
มุมมอง 419 ชั่วโมงที่ผ่านมา
The IComparable interface in C# provides a way to define a natural ordering for objects of a specific type. It allows you to compare objects of that type and determine their relative order. Key points about IComparable : Generic interface: It is a generic interface, so you can define it for any type T. CompareTo() method: The interface has a single method, CompareTo(T other), which takes anothe...
C# - Part 71 - How to Sort Lists (Simple Data Types) - Tutorial For Beginners
มุมมอง 1119 ชั่วโมงที่ผ่านมา
Here's a breakdown of the different ways to sort lists of simple data types in C# 1. Using the List .Sort() Method: - This is the simplest way to sort a list in ascending order. - The list is sorted in place, meaning the original list is modified. 2. Using the Array.Sort() Method: - Similar to the List .Sort() method, but for arrays. - Sorts the array in ascending order. 3. Using LINQ's OrderBy...
C# - Part 70 - List (Continue) - Tutorial For Beginners
มุมมอง 3421 วันที่ผ่านมา
find, findall, findindex, findlast, findlastindex, tolist, toarray, todictionary methods of c# find and findall search for elements in a collection based on a condition. find returns the first matching element, while findall returns a new collection containing all matching elements. findindex and findlastindex are similar to find and findall, but they return the index of the first or last match...
C# - Part 69 - List - Tutorial For Beginners
มุมมอง 2421 วันที่ผ่านมา
C# List is a versatile collection class that provides a dynamic array-like structure. Unlike traditional arrays, which have a fixed size, Lists can grow or shrink as needed, making them more flexible for storing and manipulating data. Key Features of C# List: * Dynamic Size: Lists can automatically adjust their size to accommodate new elements. * Random Access: You can directly access elements ...
C# - Part 68 - Dictionary (Continue) - Tutorial For Beginners
มุมมอง 9หลายเดือนก่อน
A dictionary in C# is a collection that stores key-value pairs. The key is used to uniquely identify and retrieve the corresponding value. Unlike lists or arrays, dictionaries do not have an ordered sequence of elements.
C# - Part 67 - Dictionary - Tutorial For Beginners
มุมมอง 202 หลายเดือนก่อน
Discover the power of dictionaries in C#! In this video, we'll break down the concept of key-value pairs and how they're used to store and retrieve data efficiently. Key points you'll learn: What is a dictionary? How to create and populate a dictionary. Accessing values using keys. Understanding the benefits of dictionaries for efficient data storage. Watch now to master this essential C# data ...
C# - Part 66 - Optional Attribute in C# - Tutorial For Beginners
มุมมอง 152 หลายเดือนก่อน
OptionalAttribute in C# Understanding Optional Parameters In C#, you can create optional parameters for methods. This means that a caller can omit the parameter when invoking the method, and the method will use a default value. There are several ways to achieve this, and OptionalAttribute is one of them. What is OptionalAttribute? Namespace: System.Runtime.InteropServices Purpose: Primarily use...
C# - Part 65 - Optional Parameters - Tutorial For Beginners
มุมมอง 153 หลายเดือนก่อน
Optional parameters allow you to define parameters in a method, constructor, indexer, or delegate with default values. When calling the method, you can omit these parameters, and the default values will be used. Key points: Default values: You assign a default value to the optional parameter when defining it. Placement: Optional parameters must always come after required parameters in the param...
C# - Part 64 - Overloading Indexers - Tutorial For Beginners
มุมมอง 213 หลายเดือนก่อน
Overloading Indexers in C# Indexers in C# provide a way to access elements within a class or struct using array-like syntax. Similar to methods, indexers can be overloaded to provide different behaviors based on the parameters passed. Understanding Indexer Overloading Multiple Indexers: A class can have multiple indexers. Parameter Differences: Indexers are overloaded based on the data types of...
C# - Part 63 - Indexers - Tutorial For Beginners
มุมมอง 263 หลายเดือนก่อน
In C#, an indexer is a special kind of property that allows you to access an object's elements using square brackets [], similar to how you access elements in an array. Here's a breakdown of what indexers are without any code: Imagine a custom collection class: This class stores data internally, but you don't want users to directly interact with the internal storage (like an array). Indexers co...
C# - Part 62 - What are partial methods? - Tutorial For Beginners
มุมมอง 233 หลายเดือนก่อน
In C#, a partial method is a way to split the definition of a method across multiple parts of a class or struct. This is achieved using the partial keyword. Here's how it works: 1. Declaration: The method signature, which includes the name, parameters, and return type, is defined in one part of the partial class or struct. This part only specifies what the method does, not how it does it. 2. Im...
C# - Part 61 - Understanding Partial Class - Tutorial For Beginners
มุมมอง 253 หลายเดือนก่อน
In C#, Following are the scenarios where splitting the files becomes necessary: If you are working on a bigger project, splitting the files over different classes helps developers work on the same project simultaneously. If you are working on an automatically generated source, then the code can be added to the class without regenerating the source file. The visual studio which creates windows f...
C# - Part 60 - What is a partial class? - Tutorial For Beginners
มุมมอง 293 หลายเดือนก่อน
C# - Part 60 - What is a partial class? - Tutorial For Beginners
C# - Part 59 - String vs StringBuilder - Tutorial For Beginners
มุมมอง 233 หลายเดือนก่อน
C# - Part 59 - String vs StringBuilder - Tutorial For Beginners
C# - Part 58 - Difference between ToString() and Convert.ToString() Method - Tutorial For Beginners
มุมมอง 174 หลายเดือนก่อน
C# - Part 58 - Difference between ToString() and Convert.ToString() Method - Tutorial For Beginners
C# - Part 57 - Purpose of .Equals Method - Tutorial For Beginners
มุมมอง 134 หลายเดือนก่อน
C# - Part 57 - Purpose of .Equals Method - Tutorial For Beginners
C# - Part 56 - ToString Method - Tutorial For Beginners
มุมมอง 134 หลายเดือนก่อน
C# - Part 56 - ToString Method - Tutorial For Beginners
C# - Part 55 - Generics - Tutorial For Beginners
มุมมอง 34 หลายเดือนก่อน
C# - Part 55 - Generics - Tutorial For Beginners
C# - Part 54 - Invoke Method Using Reflection - Tutorial For Beginners
มุมมอง 74 หลายเดือนก่อน
C# - Part 54 - Invoke Method Using Reflection - Tutorial For Beginners
C# - Part 53 - Reflection - Tutorial For Beginners
มุมมอง 114 หลายเดือนก่อน
C# - Part 53 - Reflection - Tutorial For Beginners
C# - Part 52 - Attributes - Tutorial For Beginners
มุมมอง 64 หลายเดือนก่อน
C# - Part 52 - Attributes - Tutorial For Beginners
C# Part 51 Access Modifiers, Internal, Protected Internal, Private Protected-Tutorial For Beginners
มุมมอง 25 หลายเดือนก่อน
C# Part 51 Access Modifiers, Internal, Protected Internal, Private Protected-Tutorial For Beginners
C# - Part 50 - Access Modifiers | Private | Public | Protected - Tutorial For Beginners
มุมมอง 35 หลายเดือนก่อน
C# - Part 50 - Access Modifiers | Private | Public | Protected - Tutorial For Beginners
C# - Part 49 - Types vs Type Members - Tutorial For Beginners
มุมมอง 85 หลายเดือนก่อน
C# - Part 49 - Types vs Type Members - Tutorial For Beginners
C# - Part 48 - Enums (Continue) - Tutorial For Beginners
มุมมอง 45 หลายเดือนก่อน
C# - Part 48 - Enums (Continue) - Tutorial For Beginners
C# - Part 47 - Enums in C# - Tutorial For Beginners
มุมมอง 125 หลายเดือนก่อน
C# - Part 47 - Enums in C# - Tutorial For Beginners
C# - Part 46 - Abusing Exception Handling and Preventions - Tutorial For Beginners
มุมมอง 45 หลายเดือนก่อน
C# - Part 46 - Abusing Exception Handling and Preventions - Tutorial For Beginners

ความคิดเห็น

  • @BHARATHKUMAR-uj6bk
    @BHARATHKUMAR-uj6bk 12 วันที่ผ่านมา

    Good one keep going

    • @prvs8
      @prvs8 10 วันที่ผ่านมา

      Thank you

  • @Vishnubhandarge1
    @Vishnubhandarge1 17 วันที่ผ่านมา

    Please cover all dsa as well 🙏

    • @prvs8
      @prvs8 17 วันที่ผ่านมา

      Next course will be on advanced C# concepts and DSA

  • @Vishnubhandarge1
    @Vishnubhandarge1 หลายเดือนก่อน

    Please take all the data types. And Data structures and algorithms 🙏🙏🙏🙏🙏🙏

  • @peeyuush
    @peeyuush 2 หลายเดือนก่อน

    thanks bro

    • @prvs8
      @prvs8 2 หลายเดือนก่อน

      you're welcome 😊

  • @sourabhredekar6208
    @sourabhredekar6208 2 หลายเดือนก่อน

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @sourabhredekar6208
    @sourabhredekar6208 2 หลายเดือนก่อน

    After watching so many videos in partial class I cannot understand the concept but now watching your video my concept is clear thank you for making this best video❤❤❤❤❤

    • @prvs8
      @prvs8 2 หลายเดือนก่อน

      You're welcome and thanks for the feedback :)

  • @Vishnubhandarge1
    @Vishnubhandarge1 3 หลายเดือนก่อน

    Please data structures im C#

    • @prvs8
      @prvs8 2 หลายเดือนก่อน

      Soon

  • @Lucidfinder
    @Lucidfinder 3 หลายเดือนก่อน

    Thanks for this wonderful c# tutorial series i hope you to continue this series and teach some advanced topics like linq, etc

    • @prvs8
      @prvs8 3 หลายเดือนก่อน

      Thank you and yes, I have planned to create new playlists for advanced and linq concepts of C# :)

  • @rohitkolekar0108
    @rohitkolekar0108 4 หลายเดือนก่อน

    what about .net dveloper market future jobs i am fresher and what is the road map of full stack .net developer please answer

    • @prvs8
      @prvs8 4 หลายเดือนก่อน

      Hi Rohit,As dotnet core has become open-source and cross platform. There are plenty of opportunities for C# and .NET developer in the current market. C# is one of the most popular programming language used for backend development. If you are fluent in C# you can easily work as an API developer, web application developer and even you can explore opportunities in games development.

    • @rohitkolekar0108
      @rohitkolekar0108 3 หลายเดือนก่อน

      ​@@prvs8thanks ❤

  • @rohitkolekar0108
    @rohitkolekar0108 4 หลายเดือนก่อน

    Thanks be continue

  • @Vishnubhandarge1
    @Vishnubhandarge1 7 หลายเดือนก่อน

    Please make it complete till advance. I request you

    • @prvs8
      @prvs8 7 หลายเดือนก่อน

      Sure. I will be covering advance concepts as well in future videos.