Monthly Archives: April 2017

C# code snippet for setting up a FileSystemWatcher on a directory or file

 

Category: C#

C# code snippet for creating a self hosted WCF service

C# code snippet for creating, extracting a compressed zip file

Category: C#

C# program to generate prime numbers from 1 to n

C# program to test a number is prime or not

C# program to check whether a string is palindromic

Time complexity: O(n) Space complexity: O(1)