Public static bool StartsWithUpper(this string str) Open the file and replace the contents with the following code: using System ctrl-click the file, select Rename from the context menu, and rename the file to StringLibrary.cs. In the Solution pad, expand the StringLibrary node to reveal the class file provided by the template, Class1.cs. Select Create.įrom the main menu, select View > Solution, and select the dock icon to keep the pad open. Leave Create a project directory within the solution directory selected. Name the project "StringLibrary" and the solution "ClassLibraryProjects". In the Configure your new Class Library dialog, choose. In the Choose a template for your new project dialog select Web and Console > Library > Class Library, and then select Next. You'll add additional, related projects to the same solution later. Create a solution and a class library project in the solution. NET versions supported by Visual Studio for Mac.Ĭreate a solution with a class library projectĪ Visual Studio solution serves as a container for one or more projects.
Tutorial: Install Visual Studio for Mac.
For more information, see the following resources:
Install Visual Studio for Mac version 8.8 or later.