Can i learn length of two different string variable

Can i learn two different string variables’s length at same time?

I have tried to this like;

string sentence1 = “This sentence is example sentence”;
string sentence2 = “This is extra example sentence”;

Console.WriteLine(sentence1+sentence2.Length);

OUTPUT:
This sentence is example sentence30

You can if you put parenthesis around it and then call .Length.

It worked, thank you.