cstr (or ToString(TensorStringStyle.CSharp)) on a 0d tensor (scalar) will return an empty string, due to the line 6575 in Tensor.cs.
Meanwhile I also found the line 6582, which also tries to check t.Dimensions == 0 and print the scalar value, so I think the current behavior is not expected.
(Also for npstr.)
