C#. Basics

Вопросы к собеседованию

Вопросы и ответы к собеседованию. Часть 1
Вопросы и ответы к собеседованию. Часть 2
Вопросы и ответы к собеседованию. Часть 3
Вопросы и ответы к собеседованию. Часть 4
Вопросы и ответы к собеседованию. Часть 5
Вопросы и ответы к собеседованию. Часть 6

Сложение очень больших чисел

Ещё вопросы и ответы

GENERAL

 HelloWorld. I love you C#

Создание и инициализация массивов

Пример на перечисления и массивы

Different variants of method Main

Processins with args of command line

Some remarks alltogether

Arrays

Enums

Struct

SendObjsByValueByRef

This

Static

Chained constructors with this directive

Ways of Object Initialization

Constants and readOnly fields

Virtual.Override

Abstract

EXCEPTIONS

General Exception

SpecialExceptions

Rethrow Exception

GARBAGE

System.GC

INTERFACES

Interfaces — simple example

Interfaces Is as

Interface as return value

Interface as method Param

Explicit interfaces implementation

Interfaces Hierarchy

Multi inheritance of interfaces

IEnumerable и Ienumerator

IEnumerable. Пример реализации

IClonable

IClonable — creating complicated Clone

IComparer

IComparable

IEnumerable. Пример использования

GENERICS

List<>

Queue<>

Stack<>

SortedSet

Custom generic Structures and classes

Custom generic methods

DELEGATES

Delegates. Very simple example

SimpleDelegate

Delegate Covariance

Generic delegates

Delegate generic emulation

Delegates. Events. Good Example Bad Example

Event with special Args

AnonymousMethods and LambdaExpression

Delegates, Func, Action

Func template for delegates

Indexators (for Custom Collections)

Indexators Custom collection behave like array

StringIndexators

USER TYPE CAST

UserTypeReduction

LINQ

Anonymous types. Implicit class objects creation

Linq and Arrays. Simple Examples

OfTypeAsFilter

Syntax simple examples

NAMESPACES, ASSEMBLIES

Assembly theory

Namespace examples

Creating one file assembly. Example

Shared assembly

REFLECTION

Reflection Simple Examples

Dynamically loaded assembly

LateBindingExamples

Attributes

Attributes. Practice

ASYNC / AWAIT

Async / Await. Simple example

Making Func delegates async

Sync and Async simple examples

DOMAINS. PROCESSES. THREADS

Domains. Processes. Thread Theory

Domain. SimpleExamples

DYNAMIC

Dynamic Theory

TASK

Task.SimpleExamples

Task.Rihter.CancellationToken

TaskStatus

ParentTasks and TaskFactory

ContinueWith

THREADS

Threads simple example (Rihter)

Foreground and Background threads (Rihter)

Rihter. Use Thread from the thread pool

Rihter. How to stop thread work ? Cancellation token

Rihter.ParentTasks

Rihter.Parallel For, ForEach, Invoke

Rihter.TaskStatus

Rihter.ParallelLINQ

Rihter.Timer

Threads and delegates

Creating own threads

Foreground and background threads

Timer and threads

PLINQ Example

Parallel. Invoke. Example

Simple Parallel Example

Parallel and Task Example

Safe and unsafe thread calls to controls

ThreadPoolExample

Threading useful posts

SYSTEM IO

SystemIO.DirectoryInfo

SystemIO.Directory

SystemIO.DriveInfo

StreamWriter and StreamReader

SystemIO. Filestream

FileSystemWatcher

BinaryFormatter

Serialization to XML and serialization of collections

SoapFormatter

OTHER

Assert. Defensive programming

Cycles

Delphi. C#. PHP. JS Циклы на 4 языках на примере факториала