indexes are not created on localdb
I don't see any indexes in the Visual Studio object explorer.  But if you ran that code, the index is certainly there. 

Check with TSQL:

select * 
from sys.indexes
where object_id = object_id('Instructor')


Or connect with SSMS to (LocalDb)\MSSQLLocalDB and check with the SSMS object explorer.