Loading

csharp_space_after_cast

Space between a cast and its operand.

Value Notes
true
false

Default: false

csharp_space_after_cast = true
		
namespace N;

public class Widget
{
    public int Narrow(object o, double d)
    {
        int x = (int)o;
        float y = (float)d;
        return x + (int)y;
    }
}
		
namespace N;

public class Widget
{
    public int Narrow(object o, double d)
    {
        int x = (int) o;
        float y = (float) d;
        return x + (int) y;
    }
}
		
csharp_space_after_cast = false
		
namespace N;

public class Widget
{
    public int Narrow(object o, double d)
    {
        int x = (int) o;
        float y = (float) d;
        return x + (int) y;
    }
}
		
namespace N;

public class Widget
{
    public int Narrow(object o, double d)
    {
        int x = (int)o;
        float y = (float)d;
        return x + (int)y;
    }
}