Hi Billy,
The error message you’re encountering indicates that the Format
property is not recognized within the DefaultQueryParameters
class. To resolve this issue, you need to ensure that you have the correct assembly reference and using directive in your code.
Here are the steps to address this issue:
- Add the Assembly Reference: Right-click on the References section in your project. Search for
System.Configuration
in the list of .NET assemblies. If it’s not already referenced, select it and click OK to add it to your project. - Check Using Directives: Make sure you have the following using directive at the top of your C# file:C#
AI-generated code. Review and use carefully.using
- Verify Correct Full Names: Ensure that you’re using the correct full names of types and namespaces in your code. Double-check that the
Format
property is part of theDefaultQueryParameters
class.