How to make it go through menu buttons

Hello, I spent much time looking for possible automation ui testing and finally appium is what I was looking for for Visual Studio.

I run code from this example https://blogs.msdn.microsoft.com/ganesh/2016/03/13/browser-appium-visualstudio/ and it worked fine. Now I would ask how could I change it to make appium go through menu buttons, for example like go settings - language etc.

Working on VS Android Emulator.

Should I use something like _driver.FindElementByName(“Settings”).Click(); ?

or should i use like this:
cap.SetCapability(“appPackage”, “com.android.settings”);
cap.SetCapability(“appActivity”, “.Settings”);