Question: I have this code index.php :

```
$d00m = file_get_contents('named.txt');
foreach ($d00m as $dom) {
    preg_match_all('#zone "(.*)"#', $dom, $domsws);
    $site = $domsws[0];
}
echo "$site";

```

The `named.txt` file content content is: 

```
zone "site.com" {
zone "site2.com" {
zone "site3.com" {

```

I need a sorted output in browser :

```
site1.com
site2.com
site3.com

```

Answer: 
Multiline string literal. Prefix it with the "at" sign, `@`, and you can put actual newlines in the string itself. Much more readable than `\r\n`.

```
public override string ToString() 
{ 
    return String.Format(
@"Name : {0}
Date Of Birth : {1: dd/MM/yyyy}
Gender : {2}
Telephone : {3}", 
    _name, _dob, _gender, _tel); 
}

```
I would go with this approach:

```
public override string ToString()
{
    var nl = Environment.NewLine;
    return
        $"Name : {_name}{nl}"
        + $"Date Of Birth : {_dob:dd/MM/yyyy}{nl}"
        + $"Gender : {_gender}{nl}"
        + $"Telephone : {_tel}";
}

```

Or this, if you think it is clearer:

```
public override string ToString()
{
    return
        $"Name : {_name}{Environment.NewLine}"
        + $"Date Of Birth : {_dob:dd/MM/yyyy}{Environment.NewLine}"
        + $"Gender : {_gender}{Environment.NewLine}"
        + $"Telephone : {_tel}";
}

```