﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0023</ErrorName>
  <Examples>
    <string>// cs0023-2.cs: Operator `+' cannot be applied to operand of type `bool'
// Line : 6

class X {
        static void Main () {
                bool b = +true;
        }
}



</string>
    <string>// cs0023-3.cs: The `.' operator can not be applied to operands of type 'void'
// Line: 12

using System; 
 
public class Testing 
{ 
	public static void DoNothing() {} 
	 
	public static void Main() 
	{ 
	 	Console.WriteLine(DoNothing().ToString()); 
	} 
} 
</string>
    <string>// cs0023-4.cs: The `.' operator can not be applied to anonymous methods
// Line: 8

using System;
class Test {
	public static void Main(string[] argv) {
		Console.WriteLine("Type of anonymous block: {0}",
			(delegate() {}).GetType());
	}
}
</string>
    <string>// cs0023.cs: Operator `~' cannot be applied to operand of type `Foo'
// Line : 10

public class Foo {

	public static void Main ()
	{
		Foo k = new Foo ();
		
		int i = ~ k;

	}
}
</string>
  </Examples>
</ErrorDocumentation>