This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ServiceReference1; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.ServiceModel; | |
using System.Threading.Tasks; | |
namespace SSRSSimple | |
{ | |
class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void minMax(int[] arr) | |
{ | |
List<int> nbrs = new List<int>(); | |
List<long> result = new List<long>(); | |
foreach (int i in arr) | |
nbrs.Add(i); | |
nbrs.Sort(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Currently EWS returns strings with the declaration in the wrong place. This file fixes that. | |
*/ | |
public class TraceListener : ITraceListener | |
{ | |
public void Trace(string traceType, string traceMessage) | |
{ | |
CreateXMLTextFile(traceType, traceMessage.ToString()); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Script for zipping a list of xml files | |
*/ | |
private void CreateZipPackage() | |
{ | |
String zipDir = AppDomain.CurrentDomain.BaseDirectory + @"zips\"; | |
DirectoryInfo di = new DirectoryInfo(zipDir); | |
foreach (var file in di.GetFiles("*.xml")) | |
{ |