Can I use LINQ with lists in sharepoint online? If so, can someone provide me with an example?
Yes, you can use it in SharePoint online
SharePoint 2010 includes the LINQ to SharePoint provider, which translates LINQ statements to CAML queries. LINQ is a standard query language and, when applied to SharePoint, it enables developers to query SharePoint lists without requiring them to learn the CAML syntax that is used internally by SharePoint.
Yes, We can use LINQ in SharePoint Online. I used it in a Visual web part which stores the information from the form to the list. Here are the steps to follow:
Create a ListContext File with the help of SPMetal
Now use the ListCotext file as the entity layer for the data saving and modification functionality