7 lines
154 B
C#
7 lines
154 B
C#
|
// CS8054: `S.P': Structs without explicit constructors cannot contain members with initializers
|
||
|
// Line: 6
|
||
|
|
||
|
struct S
|
||
|
{
|
||
|
public decimal P { get; } = -3;
|
||
|
}
|