Any samples within the Azure.Microsoft.ServiceBus folder target the newer .NET Standard library.
This sample shows how to write a .NET Core console application that sends messages to Service Bus.
This sample shows how to write a .NET Core console application that receives messages from Service Bus.
Any samples within the Microsoft.ServiceBus.Messaging folder, reference the older WindowsAzure.ServiceBus NuGet package. These samples were moved from this previous repository. See the readme here for more details.
This sample shows how to write a Java console application that sends messages to Service Bus.
This sample shows how to write a Java console application that receives messages from Service Bus.