C # code for First negative integer in every window of size k
using System ; class GFG { static void printFirstNegativeInteger ( int [ ] arr , int k , int n ) { int firstNegativeIndex = 0 ; int firstNegativeElement ; for ( int i = k - 1 ; i < n ; i ++ ) {