person or even let's say nick equals new person and let's add my full name here and let's also add a date of birth so this is the new date on because that in c sharp six so let's say uh yeah you know just i won't put my actual lid of birth here but close enough so we have that here and then if we wanted to use that full name on the date of birth in our code we might you know do something like this where URL_TOKEN and then date of birth right here you go and then you might actually use that to write line something so let's say the name is and then the actual name here so let's say a full name and then born in and then we're going to put the date so date of birth and let's just add this fella here to format it so if i was to use that and print it it would print the following right the name and then the month and the day that's the ones i'm selecting here the year we're dropping off now here's where the construction comes in these two properties because to my eyes this is like a data contract but it doesn't have to be but just as an example it would be nice if i could do this in one line you know if i could declare these two variables just instantly now someone might say hey nick why don't you just you know do this and then you don't have to deal with anything fancy well the reason why i do that is because from a use case to use case this might be like a good practice to do especially for clarity of code like if this or this were very long names very descriptive it could get convoluted if you mix them and match them in a template here like this one so for that reason we split it now what i can do actually to make this simpler for me is create a deconstructor so what is a deconstructor not to be confused by the way with a finalizer or a destructor which looks like this this is not that that's a destructor or finalizer what we're going to talk about is a deconstructor and what this is a public void method called the construct this is kind of a magic name and you can have out parameters so out and then string full name here and then out date only date of birth right so it looks like this let me move this away from my face and now i can say i can actually set those out parameters and say full name equals full name and then date of birth equals date of birth and what this does is it allows me to do the following i can say var full name coma var date of birth equals nick and i can delete that and now look all of a sudden those two lines went away i'm just pointing to that original thing and in fact if you want to be like oh why don't you just do this you know i can just comment this out and do it at the very beginning and i don't even have to have nick so you can but just for cloud here i'm going to split it just in this video so now you can do this and as you can see when i um debug my code i'm actually going to step into this method which you know that doesn't seem to be a method here this just looks like magic but when i step into here it
NO_SEGMENT_TOKEN