CS1002 expected

I have a script and I don’t know what’s wrong I’m kinda new and have seen it on youtube but it seems as it works for everyone else but not me this is the script
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class water : MonoBehaviour
{
Transform floorlevel;
BoxCollider c;

void Start()
{
floorlevel = transform.GetChild(0)
c = GetComponent();

Adjustollider();
}

public void Adjustollider()
{

float waterSize = Vector3.Distance(transform.position, floorlevel.position);
float waterCenter = waterSize / 2;

c.size = new Vector3(c.size.x, waterSize + 0.25f, c.size.z);
c.center = new Vector3(0, -waterCenter, 0);
}

}

Please read this: https://forum.unity.com/threads/using-code-tags-properly.134625/

Define “works”, what you expect and what you get instead? Read this too: http://plbm.com/?p=220

I have tried to do but have not been working I don't see the problem nither did my friend the script it seems to work for others how tried it and a lot of people commented that it helped my no one seems to have my problem when I when others have the same problem they forgot to add ; but I haven't it just marks the c and says the error it's one of my first games I do w my friends and we do not find the problem we want the player to swim so any tips are Wellcome and have water to swim in