LINQ learning materials

Hi @loginerror
I want to learn more about Linq how we can implement it in Uipath. If you have any documentation or any study material of it then please provide me.

Hi @jitendra_123

I made this topic public because the answer might also help others :slight_smile:

LINQ expression is a big topic to cover at once. Some basic resources can already be found if you simply google for
linq
or maybe even
linq vb.net

In the context of UiPath, the easiest start is by looking at examples here on the Forum (by searching for linq on the forum)

I would start with simple expressions to achieve basic filtering and move on from there.

I hope other users can share their experience in the topic as well and some resources they used on the way :slight_smile:

1 Like

Hi,

To know/learn about Linq you can refer the below links

https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/language-features/linq/introduction-to-linq

https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/concepts/linq/writing-your-first-linq-query

But at times when I want to write some complex linq queries I have used Visual Studio and test the query there before implementing it in UiPath.

2 Likes

Hi @loginerror @sarathi125
Thank you for the reply but I will wait for some more users input as I need to know how exactly we can implement the syntax of LINQ queries in Uipath.

Hey @jitendra_123

just go through this Url which he provide in his post

Cheers

1 Like

Hello,

I reffered https://www.tutorialsteacher.com/linq/linq-tutorials and felt its very good to learn from basics, you can also refere tutorials point, code project and stackoerflow for examples and scenarios.

Thanks,
Meg

2 Likes

@loginerror, @Palaniyappan

https://linqsamples.com/
There are examples within the VB.Net Syntax available as well

1 Like

LinqSample.zip (12.1 KB)
I created a sample with LINQ that enumerate files 3 different ways.

  1. ascending file names
  2. descending file names
  3. ascending file size
    Hope this helps.
    Please make sure to edit the variable that stores the directory to enumerate before running
2 Likes

This is a good topic! I saw a lot of posts that needed this kind of information.I will bookmark it and once needed i will share it :smiley:

cheers :smiley:

Happy learning :smiley:

1 Like