SkillAgentSearch skills...

XSharpExamples

XSharpExamples is a console application, that contains a series of examples on how to use certain DotNet classes in XSharp.

Install / Use

/learn @InfomindsAg/XSharpExamples
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Introduction

This solution contains a series of examples on how to use certain functionalities of DotNet in XSharp.

Some of the examples use features from the X# version 2.8 (like local methods and expression bodies)

List of the demonstraded DotNet functionality

1th Session

  • Properties
  • Switch-case
  • Enums
  • Generic Classes
  • StringBuilder
  • List
  • HashSet
  • Dictionary
  • XDocument (export XML)

2nd Session

  • Is + var
  • Interfaces
  • Linq
    • Deferred execution
    • Where
    • OrderBy
    • ThenBy
    • Select
    • SelectMany
    • ToList
    • ToArray
    • ToDictionary
    • ToHashset
    • First
    • FirstOrDefault
    • Last
    • LastOrDefault
    • Any
    • All

3rd Session

  • XDocument (Linq to XML)

4th Session (Blog Posts)

  • String functions
  • Action and Func types

5rd Session

Part 1 - UnitTests

  • Use the Test-Explorer (in the Test Menu) to run the tests
  • Simple Unit Tests (FizzBuzz)
  • Ways to handle Dependencies (using Paramter or Provider)

Part 2 - Benchmarks

  • Use BenchmarkDotNet to perform Performance and Memory Benchmarks

6th Session (Wiki)

  • Yield
View on GitHub
GitHub Stars14
CategoryDevelopment
Updated2mo ago
Forks2

Languages

xBase

Security Score

95/100

Audited on Jan 7, 2026

No findings