Please try below mentioned code
using System.Net;
using Microsoft.SharePoint.Client;
namespace ClientObjectModelConsoleApplication
{
class Program
{
static void Main(string[] args)
{
ClientContext clientContext = new ClientContext("http://hercules");
clientContext.Credentials = new NetworkCredential("Administrator", "12345");
string listName = "My Custom List", viewName = "All Items";
// true is "Display items in batches of the specified size"
// false is "Limit the total number of items returned to the specified amount"
bool paged = true;
List list = clientContext.Web.Lists.GetByTitle(listName);
View view = list.Views.GetByTitle(viewName);
view.Paged = paged;
view.Update();
clientContext.ExecuteQuery();
}
}
}