Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MyClass
public static void Main()
{
// You cannot implicitly convert a double to an integer.
double d = 3.2;
int d = 3.2;

// The following line causes compiler error CS0266.
int i1 = d;
Expand Down