The cumulative distribution function of a random variable \(X\) is\[F(x)=\begin{cases}0, & x<0,\\ \dfrac{1+x}{4}, & 0\le x<1,\\ 1, & x\ge1.\end{cases}\]Which one of the following is correct?
- A\(P(X=0)=0\)
- B\(P(X=1)=\dfrac12\)
- C\(P(0<X<1)=\dfrac12\)
- D\(P\left(X\le\dfrac12\right)=\dfrac12\)