Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 755 Bytes

File metadata and controls

20 lines (15 loc) · 755 Bytes

CSharpEssentials.Core Example

This console application demonstrates the core utility extensions provided by CSharpEssentials.Core.

Features Demonstrated

Feature Description
Guid Generation Guider.NewGuid(), NewGuidAsString(), URL-safe encoding
String Extensions ToPascalCase, ToCamelCase, ToSnakeCase, ToKebabCase, ToTrainCase, ToTitleCase, IsNumeric (with optional CultureInfo)
Collection Extensions IsNullOrEmpty, IsNotNullOrEmpty, AddRange with params
General Extensions IsNull, IsNotNull, AsValueTask, In
Random Items RandomItem, RandomItems from collections

Running

cd examples/Examples.Core
dotnet run