Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

linux command line switch statement

case $NUMBER in
  1)
    echo -n "One"
    ;;
  2 | 3)
    echo -n "Two or three"
    ;;
  10)
    echo -n "Ten"
    ;;
  *)
    echo -n "Unknown number"
    ;;
esac
Comment

PREVIOUS NEXT
Code Example
Csharp :: C# How to read users input and display it 
Csharp :: cast int to enum type c# 
Csharp :: c# find process by name 
Csharp :: c# append text to file 
Csharp :: listview item click c# 
Csharp :: git find commits by message 
Csharp :: how to set the frame rate unity 
Csharp :: c# array to list 
Csharp :: randomm number from 2 different ranges 
Csharp :: list all files in directory and subdirectories c# 
Csharp :: check if animation is playing unity 
Csharp :: c# unity get name of object 
Csharp :: how to instantiate a gameobject 
Csharp :: C# decimal with two places store as string with two places 
Csharp :: converting bitmap to byte array c# 
Csharp :: system.io.directorynotfoundexception c# 
Csharp :: convert string to int c# 
Csharp :: move files from one folder to another using c# 
Csharp :: last two characters of string c# 
Csharp :: how to see image from website in wpf 
Csharp :: unity raycast 2d 
Csharp :: c# access session in class 
Csharp :: initialize list in c# 
Csharp :: unity random point in sphere 
Csharp :: git find commits by file path 
Csharp :: c# best tutorial 
Csharp :: event trigger by code unity 
Csharp :: c# convert datetime to unix timestamp 
Csharp :: unity find child by name 
Csharp :: c# dictionary keys to list 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =