i have a variable 
int principleIndex = Principles.Instance.RowIndexToPrincipleIndex(hti.Row);
i want to use in another class linq query
principlesList.Select(p => p.GetInstanceForDatabase()).where(p=>p.prinicpleindex ).ToList(),
how do i do it ???
	
		
			
		
		
	
				
			int principleIndex = Principles.Instance.RowIndexToPrincipleIndex(hti.Row);
i want to use in another class linq query
principlesList.Select(p => p.GetInstanceForDatabase()).where(p=>p.prinicpleindex ).ToList(),
how do i do it ???
 
	 
 
		 
 
		 
 
		