how i can fix this problem? error CS0019: Operator `!=' cannot be applied to operands of type `UnityEngine.ContactPoint[]' and `int'

void OnCollisionEnter (Collision other) {

    if (other.transform !=transform && other.contacts!=0) 

{for( I =0; I < other.contacts.Length; I++)

{GameObject SS = Instantiate(spark,other.contacts*.point,Quaternion.identity) as GameObject;*
  •   		Destroy(SS,0.5)*
    
  •   	}*
    
  •   		}*
    

I’m trying to convert js to c#
This code was correct in js

This is the corrected code

if ( other.transform !=transform && other.contacts.Length != 0) 
     { for(int I =0; I < other.contacts.Length; I++)
     {    GameObject SS = Instantiate(spark,other.contacts*.point,Quaternion.identity) as GameObject;*

Destroy(SS,0.5f);
}
}