# C# Core samples

> Please use the links below to view the description and specific instructions for individual samples in the following sub-directories:

> async_native | Demonstrates asynchronous events with a shared memory database (together with AsyncManaged)
> AsyncDelegate | Demonstrates how to setup asynchronous event handlers as C# Delegates
> AsyncEvent | Demonstrates how to setup asynchronous events as standard Threads
> AsyncManaged | Opens a database in shared memory, then the C program `async_native` connects to the shared memory database and listens for events
> BTree | Demonstrates search operations with a `tree` index
> Compound | Demonstrates definition and usage of compound (multifield) indexes
> ConnectCtx | Connects to the database opened by “createdb_sniffer” then throws an exception to simulate a crash
> createdb_sniffer | Creates a database using shared memory and runs a sniffer
> DiskPerf | Displays some timings indicating performance for basic disk-based insert, update and delete operations
> Emit | Demonstrates a Sequential traversal over Key index
> FullText | Demonstrates full text lookup operations over a string vector using a btree index
> Hash | Demonstrates operations on unique and non-unique hash indexes
> IncBackup | Demonstrates incremental backup and restore
> KDTree | Demonstrates kdtree index operations
> LINQ | Demonstrates the LINQ interface for inserting records to and querying an eXtremeDB database
> Open | Demonstrates opening and connecting to an eXtremeDB database
> open_mixed | Creates/opens a shared-memory database, waits for user input while the OpenMixed module inserts a record, then closes the database
> Open2 | Demonstrates opening and connecting to two eXtremeDB databases
> OpenMixed | Connects to the shared–memory database opened by “open_mixed” then inserts a record
> Operations | Demonstrates basic insert/update/delete operations
> Patricia | Demonstrates patricia trie match functions using a string key
> Perf | Displays some timings indicating performance for basic insert, update and delete operations
> Perf2 | Displays some timings indicating performance for basic insert, update and delete operations using two databases
> RTree | Demonstrates RTree index operations
> SaveLoad | Demonstrates saving and loading a binary database image to/from disk
> Statistics | Demonstrates the runtime statistics API
> Stock | Demonstrates various operations over sequences
> Trigram | Demonstrates usage of the trigram index
> Ttl | Demonstrates usage of the Time-To-Live technique of automatically deleting obsolete objects
> Types | Demonstrates storing, retrieving and displaying eXtremeDB data types