The following code will open a dialog allowing the user to select a media to share some text or URL.
await Device.Sharing.Share(text: "My Message", title: "My Title", url: "http://example.com"); // Note: You should provide at least one of the parameters. For example, you can call it in the event handler of a button reading "Share".