/*
 * JsMin
 * Javascript Compressor
 * http://www.crockford.com/
 * http://www.smallsharptools.com/
*/

dp.sh.Brushes.CSharp=function()
{var keywords='abstract as ascending base bool break by byte case catch char checked class const '+'continue decimal descending default delegate do double else enum equals event explicit '+'extern false finally fixed float for foreach from get goto group if implicit in int into '+'interface internal is join let lock long namespace new null object operator orderby out '+'override params private protected public readonly ref return sbyte sealed select set '+'short sizeof stackalloc static string struct switch this throw true try '+'typeof uint ulong unchecked unsafe ushort using var virtual void where while';this.regexList=[{regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'string'},{regex:dp.sh.RegexLib.SingleQuotedString,css:'string'},{regex:new RegExp('^\\s*#.*','gm'),css:'preprocessor'},{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'number' },{regex:new RegExp(this.GetKeywords(keywords),'gm'),css:'cskeyword'}];this.CssClass='dp-c';this.Style='.dp-c .vars { color: #d00; }' + '.dp-c .cskeyword { color:#0000f0; }' + '.dp-c .number { color: #a00000; }' + '.dp-c .string { color: #7A0011; background-color: #FEFBD6; font-weight: bold;}';}
dp.sh.Brushes.CSharp.prototype=new dp.sh.Highlighter();dp.sh.Brushes.CSharp.Aliases=['c#','c-sharp','csharp'];
