\(=\dfrac{1}{2}+\dfrac{5}{6}-\dfrac{1}{2}-\dfrac{5}{6}+2022=2022\)
\(\dfrac{1}{2}-\dfrac{35}{-42}+2022-\dfrac{18}{36}-\dfrac{5}{6}\\ =\dfrac{1}{2}-\dfrac{-5}{6}+2022-\dfrac{1}{2}-\dfrac{5}{6}\\ =\left(\dfrac{1}{2}-\dfrac{1}{2}\right)-\left(\dfrac{-5}{6}+\dfrac{5}{6}\right)+2022\\ =0-0+2022\\ =0+2022\\ =2022\)