Visual studio keyboard shortcut to go to end of line in Windows
I've tried to do something similar with key mappings in Visual Studio before, and I couldn't find any options. What I ended up using was AutoHotkey, and with it you can set up a key bind really quickly. Hope this helps!
Using a circa 2018 macbook pro without explicit labels for home or end, no system or extra configuration is required:
Begin of Line: Fn+LeftArrow
End of Line: Fn+RightArrow
Top of Document/Home: Fn+UpArrow
Bottom of Document: Fn+DownArrow
This took a little bit of overdue google-research, but a solution or answer lies in this post: https://answers.microsoft.com/en-us/mac/forum/macoffice2011-macexcel/what-key-on-the-macbook-pro-is-the-end-key-to/2b3517d7-2cf5-4c33-a53e-9d229f6f36f9
While this is specific to MacBooks of a certain era, it may possibly apply more broadly.
The command name is Edit.LineEnd. You can assign a new shortcut to it in Visual Studio keyboard options.
Assign the shortcut in the "Text Editor" scope (rather than the default "Global" scope).
When done correctly, it should look like this: