Skip to content

Instantly share code, notes, and snippets.

View iAvinashVarma's full-sized avatar
💡
Thinking...

Avinash Varma Kalidindi iAvinashVarma

💡
Thinking...
View GitHub Profile
@iAvinashVarma
iAvinashVarma / ListVSHashsetVSSortedSet.cs
Created January 10, 2018 12:19
ListVSHashsetVSSortedSet
using System.Collections.Generic;
namespace UnderstandCollections
{
internal class Program
{
private static void Main(string[] args)
{
int count = 100;
var collectionSet = new CollectionSet();
@iAvinashVarma
iAvinashVarma / HashTableVsDictionary.cs
Created January 10, 2018 10:29
PerformanceHashTableVsDictionary
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace HashTableVsDictionary
{
internal class Program
{
private static void Main(string[] args)
@iAvinashVarma
iAvinashVarma / NeedOfActionDelegate.cs
Created March 10, 2017 04:51
Need of Action Generic Delegate (Real Time Example)
using System;
using System.Threading;
namespace NeedOfActionDelegate
{
class Program
{
static void Main(string[] args)
{
MachineUpdate machineUpdate = new MachineUpdate();
@iAvinashVarma
iAvinashVarma / NeedOfDelegates.cs
Last active March 9, 2017 11:05
Need of Delegates (Real time example).
using System;
using System.Threading;
namespace NeedOfDelegates
{
class Program
{
static void Main(string[] args)
{
MachineUpdate machineUpdate = new MachineUpdate();
@iAvinashVarma
iAvinashVarma / NeedOfPolymorphism.cs
Last active March 10, 2017 05:27
Simple example to understand the inheritance, polymorphism and interface.
using System;
namespace NeedOfPolymorphism
{
enum UOM
{
Gram,
Litre
}