Access the context item
Current version: 10.1
In presentation and other components, processing often begins with the context item. You can access the context item using the Sitecore.Context.Item
property. For example, to access the context item:
RequestResponseshell
Sitecore.Data.Items.Item contextItem = Sitecore.Context.Item ;