This file contains hidden or 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
| declare @tableName varchar(200) | |
| declare @columnName varchar(200) | |
| declare @nullable varchar(50) | |
| declare @datatype varchar(50) | |
| declare @maxlen int | |
| declare @sType varchar(50) | |
| declare @sProperty varchar(200) | |
| DECLARE table_cursor CURSOR FOR |
This file contains hidden or 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 System; | |
| namespace ConsoleApplication1 | |
| { | |
| internal class A | |
| { | |
| public virtual void Foo() | |
| { | |
| Console.WriteLine("Foo A"); | |
| } |
This file contains hidden or 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 (var md5 = System.Security.Cryptography.MD5.Create()) | |
| { | |
| using (var stream = File.OpenRead(@"E:\somefile.zip")) | |
| { | |
| Console.WriteLine(BitConverter.ToString(md5.ComputeHash(stream)).Replace("-","").ToLower()); | |
| } | |
| } |
This file contains hidden or 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 System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.Caching; | |
| namespace CacheTest | |
| { | |
| internal class Program | |
| { | |
| private UnitRepo _unitrepo; |
This file contains hidden or 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 System; | |
| using System.Drawing; | |
| namespace ConsoleApplication1 | |
| { | |
| internal class Program | |
| { | |
| private static void Main() | |
| { | |
| Point start = new Point(0, 0); |
This file contains hidden or 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
| private bool StreamEquals(Stream a, Stream b) | |
| { | |
| if (a == b) | |
| { | |
| return true; | |
| } | |
| if (a == null || b == null) | |
| { | |
| throw new ArgumentNullException(a == null ? "a" : "b"); |
This file contains hidden or 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 System; | |
| using System.ComponentModel; | |
| using System.IO; | |
| using System.Threading.Tasks; | |
| namespace sebingel.ParallelComparision | |
| { | |
| internal class Program | |
| { | |
| static void Main() |