💻 Code samples about C# .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Marc CHEVALDONNE 6587c3edd3
minor updates
5 years ago
CM_sur_events begun .netCore 3.0 migration 5 years ago
HtmlDecode begun .netCore 3.0 migration 5 years ago
ex_003_001_Main begun .netCore 3.0 migration 5 years ago
ex_003_002_Main_HelloWorld begun .netCore 3.0 migration 5 years ago
ex_003_003_Main_arguments begun .netCore 3.0 migration 5 years ago
ex_003_004_Console begun .netCore 3.0 migration 5 years ago
ex_004_001_TypesNumeriques begun .netCore 3.0 migration 5 years ago
ex_004_002_Math begun .netCore 3.0 migration 5 years ago
ex_004_003_Random begun .netCore 3.0 migration 5 years ago
ex_004_004_TypeBool begun .netCore 3.0 migration 5 years ago
ex_004_005_TypeChar begun .netCore 3.0 migration 5 years ago
ex_004_006_TimeSpan_et_DateTime begun .netCore 3.0 migration 5 years ago
ex_004_007_DureeDeVie begun .netCore 3.0 migration 5 years ago
ex_004_008_var begun .netCore 3.0 migration 5 years ago
ex_004_009_Tuple begun .netCore 3.0 migration 5 years ago
ex_004_010_GuidStruct begun .netCore 3.0 migration 5 years ago
ex_005_001_tableaux begun .netCore 3.0 migration 5 years ago
ex_005_002_copie_de_tableaux begun .netCore 3.0 migration 5 years ago
ex_005_003_tableaux_multiDimensions begun .netCore 3.0 migration 5 years ago
ex_006_001_string begun .netCore 3.0 migration 5 years ago
ex_006_002_StringBuilder begun .netCore 3.0 migration 5 years ago
ex_007_001_enum begun .netCore 3.0 migration 5 years ago
ex_008_001_if_else begun .netCore 3.0 migration 5 years ago
ex_008_002_switch begun .netCore 3.0 migration 5 years ago
ex_008_003_ternary_operator begun .netCore 3.0 migration 5 years ago
ex_008_004_null_operators begun .netCore 3.0 migration 5 years ago
ex_008_005_pattern_matching begun .netCore 3.0 migration 5 years ago
ex_009_001_bouclesIteratives begun .netCore 3.0 migration 5 years ago
ex_010_001_methodParametersAndModifiers begun .netCore 3.0 migration 5 years ago
ex_010_002_optionalParameters begun .netCore 3.0 migration 5 years ago
ex_010_003_interets_des_optionalparameters begun .netCore 3.0 migration 5 years ago
ex_012_001_nullableTypes begun .netCore 3.0 migration 5 years ago
ex_013_001_FormattingParsingNumEtBool begun .netCore 3.0 migration 5 years ago
ex_013_002_FormattingParsingDateTime begun .netCore 3.0 migration 5 years ago
ex_014_001_namespace_et_nomDUneClasse begun .netCore 3.0 migration 5 years ago
ex_014_002_typesImbriques begun .netCore 3.0 migration 5 years ago
ex_014_003_ClasseChampInitialiseurs begun .netCore 3.0 migration 5 years ago
ex_014_004_constructeurs begun .netCore 3.0 migration 5 years ago
ex_014_005_methodes begun .netCore 3.0 migration 5 years ago
ex_014_006_object_ToString begun .netCore 3.0 migration 5 years ago
ex_014_007_expression_bodied_methods begun .netCore 3.0 migration 5 years ago
ex_014_008_deconstruction begun .netCore 3.0 migration 5 years ago
ex_015_001_static begun .netCore 3.0 migration 5 years ago
ex_015_002_ordreAppelStatic begun .netCore 3.0 migration 5 years ago
ex_015_003_singleton begun .netCore 3.0 migration 5 years ago
ex_015_004_using_static begun .netCore 3.0 migration 5 years ago
ex_016_001_getters_setters_methods begun .netCore 3.0 migration 5 years ago
ex_016_002_properties begun .netCore 3.0 migration 5 years ago
ex_016_003_indexers begun .netCore 3.0 migration 5 years ago
ex_016_004_readonly begun .netCore 3.0 migration 5 years ago
ex_016_005_partial begun .netCore 3.0 migration 5 years ago
ex_016_006_local_functions begun .netCore 3.0 migration 5 years ago
ex_017_001_heritage_syntaxe begun .netCore 3.0 migration 5 years ago
ex_017_002_redefinitionDeMethodes begun .netCore 3.0 migration 5 years ago
ex_017_003_initialiseurs_constructeurs begun .netCore 3.0 migration 5 years ago
ex_017_004_casting begun .netCore 3.0 migration 5 years ago
ex_018_001_polymorphisme begun .netCore 3.0 migration 5 years ago
ex_018_002_abstract begun .netCore 3.0 migration 5 years ago
ex_019_001_interfaces begun .netCore 3.0 migration 5 years ago
ex_020_001_structures begun .netCore 3.0 migration 5 years ago
ex_021_001_patternComposite begun .netCore 3.0 migration 5 years ago
ex_021_002_patternStrategy begun .netCore 3.0 migration 5 years ago
ex_022_001_Generics_def_du_pb begun .netCore 3.0 migration 5 years ago
ex_022_002_Generics_EtPourquoiPasObject begun .netCore 3.0 migration 5 years ago
ex_022_003_Generics_syntaxe begun .netCore 3.0 migration 5 years ago
ex_022_004_Generics_default begun .netCore 3.0 migration 5 years ago
ex_022_005_Generics_constraints begun .netCore 3.0 migration 5 years ago
ex_022_006_Generics_constraints2 begun .netCore 3.0 migration 5 years ago
ex_022_007_Generics_subclassing begun .netCore 3.0 migration 5 years ago
ex_022_008_CovarianceClasses begun .netCore 3.0 migration 5 years ago
ex_022_009_CovarianceInterfaces begun .netCore 3.0 migration 5 years ago
ex_023_001_IEnumerator_ex1 begun .netCore 3.0 migration 5 years ago
ex_023_002_IEnumerator_ex2 begun .netCore 3.0 migration 5 years ago
ex_023_003_IEnumerator_ex3 begun .netCore 3.0 migration 5 years ago
ex_023_004_ArrayClass begun .netCore 3.0 migration 5 years ago
ex_023_005_Queue begun .netCore 3.0 migration 5 years ago
ex_023_006_Stack begun .netCore 3.0 migration 5 years ago
ex_023_007_LinkedList begun .netCore 3.0 migration 5 years ago
ex_023_008_List begun .netCore 3.0 migration 5 years ago
ex_023_009_HashSet_and_SortedSet begun .netCore 3.0 migration 5 years ago
ex_023_010_EqualityProtocoleOnReferences begun .netCore 3.0 migration 5 years ago
ex_023_011_EqualityProtocoleOnValues begun .netCore 3.0 migration 5 years ago
ex_023_012_EqualityComparer begun .netCore 3.0 migration 5 years ago
ex_023_013_OrderComparisonProtocole begun .netCore 3.0 migration 5 years ago
ex_023_014_Dictionary begun .netCore 3.0 migration 5 years ago
ex_023_015_DictionaryCustomType begun .netCore 3.0 migration 5 years ago
ex_023_016_ReadOnlyCollection begun .netCore 3.0 migration 5 years ago
ex_023_017_Deep_Read_only_collections_dll begun .netCore 3.0 migration 5 years ago
ex_023_017_Deep_Read_only_collections_exe begun .netCore 3.0 migration 5 years ago
ex_023_018_ReadOnlyDictionaries begun .netCore 3.0 migration 5 years ago
ex_023_019_ReadOnlyDictionary_and_values_dll begun .netCore 3.0 migration 5 years ago
ex_023_019_ReadOnlyDictionary_and_values_exe begun .netCore 3.0 migration 5 years ago
ex_024_001_exceptions_Contexte begun .netCore 3.0 migration 5 years ago
ex_024_002_parse begun .netCore 3.0 migration 5 years ago
ex_024_003_exceptions begun .netCore 3.0 migration 5 years ago
ex_024_004_propagation_exceptions begun .netCore 3.0 migration 5 years ago
ex_024_005_exceptions_personnalisees begun .netCore 3.0 migration 5 years ago
ex_025_001_DebugTrace begun .netCore 3.0 migration 5 years ago
ex_028_001_intro_avec_interfaces begun .netCore 3.0 migration 5 years ago
ex_028_002_intro_avec_delegate begun .netCore 3.0 migration 5 years ago
ex_028_003_interface_as_parameter begun .netCore 3.0 migration 5 years ago
ex_028_004_delegate_as_parameter begun .netCore 3.0 migration 5 years ago
ex_028_005_nested_delegate begun .netCore 3.0 migration 5 years ago
ex_028_006_Strategy_et_interface begun .netCore 3.0 migration 5 years ago
ex_028_007_delegate_versus_Strategy begun .netCore 3.0 migration 5 years ago
ex_028_008_multicast_et_interfaces begun .netCore 3.0 migration 5 years ago
ex_028_009_multicast_delegate begun .netCore 3.0 migration 5 years ago
ex_028_010_multicast_delegate_return_value begun .netCore 3.0 migration 5 years ago
ex_028_011_Broadcaster_Subscriber begun .netCore 3.0 migration 5 years ago
ex_028_012_delegate_Broadcaster_Subscriber begun .netCore 3.0 migration 5 years ago
ex_028_013_Predicate begun .netCore 3.0 migration 5 years ago
ex_028_014_Func begun .netCore 3.0 migration 5 years ago
ex_028_015_Action begun .netCore 3.0 migration 5 years ago
ex_029_001_event_Broadcaster_Subscriber begun .netCore 3.0 migration 5 years ago
ex_029_002_event_standard_pattern begun .netCore 3.0 migration 5 years ago
ex_030_001_anonymousMethods begun .netCore 3.0 migration 5 years ago
ex_030_002_lambdaExpressions begun .netCore 3.0 migration 5 years ago
ex_030_003_lambdaExpressions begun .netCore 3.0 migration 5 years ago
ex_031_001_decouverteDeLINQ begun .netCore 3.0 migration 5 years ago
ex_031_002_extensionMethods begun .netCore 3.0 migration 5 years ago
ex_031_003_anonymousTypes begun .netCore 3.0 migration 5 years ago
ex_031_004_LINQ_intro begun .netCore 3.0 migration 5 years ago
ex_031_005_LINQ_deferredExecution begun .netCore 3.0 migration 5 years ago
ex_031_005_LINQ_operators Updated .NET Core samples from .NET CORE 1.0 to .NET CORE 2.2 5 years ago
ex_031_006_LINQ_filtering begun .netCore 3.0 migration 5 years ago
ex_031_007_LINQ_ordering begun .netCore 3.0 migration 5 years ago
ex_031_008_LINQ_projecting begun .netCore 3.0 migration 5 years ago
ex_031_009_LINQ_element_operators begun .netCore 3.0 migration 5 years ago
ex_031_010_LINQ_aggregation_methods begun .netCore 3.0 migration 5 years ago
ex_031_011_LINQ_grouping begun .netCore 3.0 migration 5 years ago
ex_031_012_LINQ_joining begun .netCore 3.0 migration 5 years ago
ex_031_013_LINQ_set_operators begun .netCore 3.0 migration 5 years ago
ex_031_014_LINQ_quantifiers begun .netCore 3.0 migration 5 years ago
ex_031_015_LINQ_generation_methods begun .netCore 3.0 migration 5 years ago
ex_031_016_LINQ_conversion_methods begun .netCore 3.0 migration 5 years ago
ex_036_001_Reflection begun .netCore 3.0 migration 5 years ago
ex_037_001_File_and_Directory_management begun .netCore 3.0 migration 5 years ago
ex_037_002_FileStream begun .netCore 3.0 migration 5 years ago
ex_037_003_TextReader_TextWriter begun .netCore 3.0 migration 5 years ago
ex_037_004_BinaryReader_BinaryWriter begun .netCore 3.0 migration 5 years ago
ex_037_005_XmlReader_XmlWriter begun .netCore 3.0 migration 5 years ago
ex_038_001_DataContractSerializer_bases begun .netCore 3.0 migration 5 years ago
ex_038_002_DataContract_subclassing begun .netCore 3.0 migration 5 years ago
ex_038_003_DataContract_ObjectReferences begun .netCore 3.0 migration 5 years ago
ex_038_004_DataContract_Collections begun .netCore 3.0 migration 5 years ago
ex_038_005_DataContract_Hooks begun .netCore 3.0 migration 5 years ago
ex_038_006_Binary_Serializable begun .netCore 3.0 migration 5 years ago
ex_038_007_XmlSerializer begun .netCore 3.0 migration 5 years ago
ex_038_008_IXmlSerializable begun .netCore 3.0 migration 5 years ago
ex_039_001_XDOM_bases begun .netCore 3.0 migration 5 years ago
ex_039_002_LINQ_to_XML begun .netCore 3.0 migration 5 years ago
ex_040_001_LINQ_to_Json updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_001_EF_CodeFirst_conventions modified Many to Many samples in Fluent API 5 years ago
ex_042_002_EF_CodeFirst_data_annotations updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_003_EF_CodeFirst_Fluent_API updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_004_EF_CF_InitializationStrategy updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_005_EF_CF_Seeding_Data updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_006_EF_CF_One_to_One updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_007_EF_CF_One_to_One_FluentAPI updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_008_EF_CF_One_to_Many updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_009_EF_CF_One_to_Many_FluentAPI updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_010_EF_CF_Many_to_Many changed samples ex_042_010, 11, 12 about many to many: added Include and ThenInclude 5 years ago
ex_042_011_EF_CF_Many_to_Many_FluentAPI changed samples ex_042_010, 11, 12 about many to many: added Include and ThenInclude 5 years ago
ex_042_012_EF_CF_Dictionary updated ex_042_012_EF_CF_Dictionary about dictionaries and EF 5 years ago
ex_042_012_EF_CF_Many_to_Many_procurators changed samples ex_042_010, 11, 12 about many to many: added Include and ThenInclude 5 years ago
ex_042_013_EF_CF_TPT_Inheritance updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_014_EF_CF_TPH_Inheritance updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_015_EF_CF_TPC_Inheritance begun .netCore 3.0 migration 5 years ago
ex_042_016_EF_current_original_database_val minor updates 5 years ago
ex_042_017_EF_concurrency_problematic updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_018_EF_concurrency_databaseWins updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_019_EF_concurrency_clientWins updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_020_EF_concurrency_customDbProp updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_042_021_EF_concurrency_customObjects updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_050_001_CreatingAThread begun .netCore 3.0 migration 5 years ago
ex_050_002_attendre_un_thread begun .netCore 3.0 migration 5 years ago
ex_050_003_Variables_locales_et_partagées_entre_threads begun .netCore 3.0 migration 5 years ago
ex_050_004_cadenas_et_sécurité begun .netCore 3.0 migration 5 years ago
ex_050_005_passage_de_paramètre begun .netCore 3.0 migration 5 years ago
ex_050_006_gestion_des_exceptions begun .netCore 3.0 migration 5 years ago
ex_050_007_Foreground_vs_Background begun .netCore 3.0 migration 5 years ago
ex_050_008_Priorité begun .netCore 3.0 migration 5 years ago
ex_050_009_signalisation begun .netCore 3.0 migration 5 years ago
ex_050_010_Threading_en_UWP updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
ex_050_011_ThreadPool begun .netCore 3.0 migration 5 years ago
ex_051_001_Démarrer_une_tâche begun .netCore 3.0 migration 5 years ago
ex_051_002_valeur_de_retour begun .netCore 3.0 migration 5 years ago
ex_051_003_gestion_exceptions begun .netCore 3.0 migration 5 years ago
ex_051_004_poursuite_continuations begun .netCore 3.0 migration 5 years ago
ex_051_005_TaskCompletionSource begun .netCore 3.0 migration 5 years ago
ex_051_006_TaskDelay begun .netCore 3.0 migration 5 years ago
ex_052_001_problématique begun .netCore 3.0 migration 5 years ago
ex_052_002_problématique_2 begun .netCore 3.0 migration 5 years ago
ex_052_003_problématique_3 begun .netCore 3.0 migration 5 years ago
ex_052_004_problématique_4 begun .netCore 3.0 migration 5 years ago
ex_052_005_problématique_5 begun .netCore 3.0 migration 5 years ago
ex_052_006_problématique_6_UWP updated samples from ex_042_001_EF_CodeFirst_conventions to ex_042_011_EF_CF_Many_to_Many_FluentAPI 5 years ago
.gitlab-ci.yml Update .gitlab-ci.yml 5 years ago
Exemples.sln minor updates 5 years ago
LISEZ_MOI.txt samples of .NET framework 6 years ago
README.md Update README.md 5 years ago
chap038_Sérialisation.txt samples of .NET framework 6 years ago
temp.md minor updates 5 years ago

README.md

mchSamples .NET Core

Tools to install

if you want to run .NET Core 3.0

if you want to run .NET Core 2.2

Here are all the different Tools to be installed with Visual Studio 2019, in order to be able to use .NET Core 2.2: