consulo-csharp
consulo-csharp copied to clipboard
Languages: C#
``` string aString="Consulo is Awesome"; string anohterString=aString[0]; //This get highlighted #if CheeseCake anohterString=aString[0]; //this does not get highlighted #endif ```
``` csharp int intValue = 0; MethodAttributes attributes = MethodAttributes.Static; int value = someBoolExpression ? intValue : attributes; // no error at 'attributes' ```
``` private Type __valueType; public Type ValueType { get { return __valueType; } } void MyFunc(){ ValueType.
Hi. The following code works fine, but Consulo highlights expression as an error! ``` csharp using System; using System.Linq.Expressions; public class TT { public static void t() { test(() =>...
``` csharp using System; using System.Collections.Generic; public class Program { public static void Main(String[] args) { List list = null; object str = list[0]; } } ```