Javatpoint Logo
Javatpoint Logo

C# Deconstruction

C# deconstruction is a process of deconstruct instance of a class. It is helpful when we want to reinitialize object of a class.

Make sure all the parameters of deconstructor are out type.

Let's see an example.

C# Deconstruction Example


Next TopicC# Local Functions




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA