Skip to main content

 What would the .net Cobol equivalent to this C# code be?

public NewUser User { get; set; } = new NewUser();

 What would the .net Cobol equivalent to this C# code be?

public NewUser User { get; set; } = new NewUser();

Hi, should be something like:

01 #User type NewUser property value new NewUser.

The hash preceding User is necessary as 'user' is a (fairly obscure) COBOL reserved word. However the hash is removed from the externalized name.