I have heard that when a rogue dual wields, the rogue has one primary action which is used to attack main hand and a bonus action which is used to attack off hand.
My question is: can the rogue attack with the main hand action and with off hand bonus action and still use the rogue's sneak attack ability?