In this article, you will learn the basic site collection feature operations (site scoped) on SharePoint online, using PnP Core CSOM library.
SharePoint 2013 .Net Client Side Object Model Cookbook