Munish Kumar

Munish Kumar

  • 1.3k
  • 451
  • 10k

Creating objects

Jul 6 2023 10:37 AM

Hello everyone,

can someone help me to understand the difference between the below code:

1. protected static PortalParametersContext Context { get; } = new PortalParametersContext();

2. protected static PortalParametersContext Context = new PortalParametersContext();

where PortalParametersContext is class.

 

Thanks


Answers (2)