Need help with a weird error

It wants me to put a ; after get but then it gives me like 5 more errors.

Assets\Scripts\Dialog.cs(14,13): error CS1002: ; expected

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[System.Serializable]

public class Dialog 
{
    [SerializeField] List<string> lines;

    public List<string> Lines()
    {
        
        get { return lines; }
        
    }
}

I think you want something like this :
(also you didn’t specify the type of elements for yourlines fields , you wrote List and not List<string>)

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[System.Serializable]

public class Dialog
{
[SerializeField] List<string> lines;

// if you wanna return through a getter 
public List<string> Lines => line; // option 1
public List<string> Lines { get { return lines; }} // option 2

// if you want to return through a method
public List<string> Lines()
{
    return lines; 
}
}