@Gaurav Gautam Thank you for reaching out.
Retirement means that Microsoft will no longer provides support on retired features neither new update.
What will stop working and what will continue to work if i stay on version 2.x
Nothing will stop working. Customers will simply have no support, they cannot file support cases to obtain help, and they will be no security updates on V2 libraries.
New features and updates will be added only to the latest minor version of the latest supported major SDK version.
We recommend that you always use the latest version to take advantage of new features, performance improvements, and bug fixes. If you're using an old, non-retired version of the SDK, your requests to Azure Cosmos DB will still function, but you won't have access to any new capabilities.
Release history is maintained in the Azure Cosmos DB .NET SDK source repo. For a detailed list of feature releases and bugs fixed in each release, see the SDK changelog documentation
Hope that clarifies your ask.
Please don't forget to mark as accept answer if the reply was helpful.
Regards,
Oury