C# Beginner to advanced - Lesson 53 - Collections - Part 2 - Sorted List

مجله خبری، آموزشی پرشین تک
منتشر شده در 11 خرداد 1397

Sorted List:

C# has generic and non-generic SortedList.

SortedList stores the key-value pairs in ascending order of the key. Key must be unique and cannot be null whereas value can be null or duplicate.

Non-generic SortedList stores keys and values of any data types.

Key-value pair can be cast to DictionaryEntry.

Access individual value using indexer. SortedList indexer accepts key to return value associated with it.


ankpro

ankpro training

Asp.net MVC

C#

C sharp

Bangalore

Rajajinagar

Selenium

Coded UI

Mobile automation testing

Mobile testing

JQuery

JavaScript

.Net

Components of the .Net framework

Hello World

Literal

Keywords

Variable

Data types

Operators

Branching

Loops

Arrays

ArrayList

Strings

String Builder

Structures

Enums

Functions

Classes

Inheritance

Polymorphism

Properties

Indexers

Events

Nested Classes

Delegates

Anonymous methods

Labda expressions

Abstract classes

Exception Handling

Linq

Interfaces

Extension methods

Anonymous types

Generics

Collections

Garbage Collection

Reflection

Attributes

Input and output statements

Type casting

Partial Methods

Partial Classes

Boxing and Unboxing

Var vs Dynamic vs Object

دیدگاه کاربران