tag you can find something like this
@Scripts.Render("~/bundles/jquery")
@RenderSection("scripts", required: false)
First you have the jQuery library. Then you have any scripts. That's what this means. So in your views do something like this.
@section scripts{
//your script
}
This will make sure that all scripts comes under jQuery reference.