Skip to content

Instantly share code, notes, and snippets.

View parsalotfy's full-sized avatar
🙂

Parsa parsalotfy

🙂
View GitHub Profile
@parsalotfy
parsalotfy / launch.json
Created November 29, 2018 17:14
VSCode launch configuration for building and testing csharp code by pressing F5
{
"version": "0.2.0",
"configurations": [
// Create a dotnet core class library named 'mylib' with pressing F5
{
"name": "Create_mylib",
"type": "coreclr",
"request": "launch",
"program": "dotnet",
@parsalotfy
parsalotfy / HAPTester.cs
Last active February 26, 2020 20:48
A Test for Html Aglility Pack Encapsulator Tool
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
namespace DotNet20_Test
{
static class Program
{
@parsalotfy
parsalotfy / TEqualityComparer.cs
Created October 8, 2019 13:07
A generic equality comparer for type of T.
using System;
using System.Collections.Generic;
namespace SomeNameSpace
{
public class TEqualityComparer<T> : EqualityComparer<T>
{
private TEqualityComparer()
{