Skip to content

Instantly share code, notes, and snippets.

@cirocorvino
cirocorvino / ChatServerExample.cs
Last active Aug 24, 2020
C# simple chat server example
View ChatServerExample.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
@cirocorvino
cirocorvino / FlattenArrayExample.cs
Last active Aug 24, 2020
C# nested array of int type flattener
View FlattenArrayExample.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Script.Serialization;
namespace FlattenArrayExample
{
public static class Program
{
public static void Main()