public void MyMethod(string arg1, object arg2) { VerifyArgument.AreNotNull(arg1, arg2); // If the arguments are not null, continue with method logic }In this example, we have a method called MyMethod that takes in two arguments - a string and an object. Before executing the logic of the method, we call VerifyArgument.AreNotNull to ensure that both arguments are not null. If either argument is null, an exception will be thrown, preventing the method from executing. The VerifyArgument class is not a built-in class in C#, but rather a utility method typically found in third-party packages, such as the Microsoft.VisualStudio.TestPlatform.CommunicationUtilities package or the Microsoft.AspNetCore.Mvc.Core package.