Skip to content

Instantly share code, notes, and snippets.

View eshref's full-sized avatar

Ashraf Safarov eshref

  • Baku
View GitHub Profile
@davidfowl
davidfowl / .NET6Migration.md
Last active December 8, 2025 20:34
.NET 6 ASP.NET Core Migration
@davidfowl
davidfowl / MinimalAPIs.md
Last active September 25, 2025 20:44
Minimal APIs at a glance
@yetanotherchris
yetanotherchris / appsettings.json
Last active May 6, 2025 20:09
.NET Core Examples: configuration binding and appsetting.json
{
"Smtp": {
"Host": "smtp.gmail.com",
"Port": 587,
"UseSSL": true,
"Username": "bob",
"Password": "password",
}
}
@aaronjwood
aaronjwood / BinarySearchTree.cs
Created February 15, 2016 05:57
Binary search tree implementation in C#
using System;
using System.Diagnostics;
namespace BinarySearchTree
{
class Node
{
public int value;
public Node left;
public Node right;
@patkremer
patkremer / BinarySearch.cs
Created June 26, 2013 14:59
Binary Search - C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BinarySearch
{
class BinaryArray
{
private int[] data; // array of values