C# Simple and Easy to understand
\npublic class Solution {\n    public int NumberOfPairs(int[] nums1, int[] nums2, int k) {\n        int ans=0;\n        for(int i=0;i<nums1.Length;i++){\n      
```\npublic class Solution {\n    public int NumberOfPairs(int[] nums1, int[] nums2, int k) {\n        int ans=0;\n        for(int i=0;i<nums1.Length;i++){\n            for(int j=0;j<nums2.Length;j++){\n                if(nums1[i]%(nums2[j]*k)==0)\n                    ans++;\n            }\n        }\n        return ans;\n    }\n}\n```
[]